mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
2.0.2 - prevent appending _callback_hook on response
This commit is contained in:
parent
51f66cf320
commit
d53300a285
3 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
Changelog
|
||||
=
|
||||
|
||||
Version 2.0.2
|
||||
-
|
||||
* 'js(false)' will prevent Paloma from appending _callback_hook on the response.
|
||||
|
||||
Version 2.0.1
|
||||
-
|
||||
* Bug Fix: `params` is not passed when calling filters.
|
||||
|
|
|
@ -18,6 +18,8 @@ module Paloma
|
|||
|
||||
|
||||
def update_callback
|
||||
return clear_callbacks if @__paloma_callback__.nil?
|
||||
|
||||
add_to_callbacks @__paloma_callback__
|
||||
|
||||
paloma_txt = view_context.render(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Gem::Specification.new do |s|
|
||||
s.name = 'paloma'
|
||||
s.version = '2.0.1'
|
||||
s.version = '2.0.2'
|
||||
s.summary = "Provides an easy way to execute page-specific javascript for Rails."
|
||||
s.description = "Page-specific javascript for Rails done right"
|
||||
s.authors = ["Karl Paragua", "Bia Esmero"]
|
||||
|
|
Loading…
Reference in a new issue