Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/action_view/template/handlers/rjs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class RJS
class_attribute :default_format
self.default_format = :js

def call(template)
"update_page do |page|;#{template.source}\nend"
def call(template, source)
"update_page do |page|;#{source}\nend"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion prototype-rails.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'prototype-rails'
spec.version = '4.1.4'
spec.version = '4.2.0'
spec.summary = 'Prototype, Scriptaculous, and RJS for Ruby on Rails'
spec.homepage = 'http://github.com/rails/prototype-rails'
spec.author = 'Xavier Noria'
Expand Down