1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

1.2.6 - hook script not appended on response when js_callback(false)

This commit is contained in:
kbparagua 2013-03-25 14:19:15 +08:00
parent e764f4a653
commit 91968e54e6
6 changed files with 11 additions and 1 deletions

View file

@ -1,6 +1,10 @@
Changelog
=
Version 1.2.6
-
* Paloma hook script is not appended on the response when `false` is passed to `js_callback`
Version 1.2.0
-
* AddGenerator with multiple actions: `rails g paloma:add namespace/controller action1 action2 action3`

View file

@ -18,6 +18,8 @@ module Paloma
def update_callback
return clear_callbacks if @__callback__.nil?
add_to_callbacks @__callback__, @__js_params__
paloma_txt = view_context.render(

View file

@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'paloma'
s.version = '1.2.5'
s.version = '1.2.6'
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"]

View file

@ -0,0 +1,4 @@
Started GET "/assets/rails.png" for 127.0.0.1 at 2013-02-21 18:47:46 +0800
Served asset /rails.png - 200 OK (5ms)