Skip to content
Browse files

Merge pull request #1 from valodzka/master

Incorrect helper usage fix
  • Loading branch information...
2 parents 26860c5 + 694aebc commit ba6244b23693920eb410ec7c8195bf274632a247 @aaronchi committed Aug 31, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 jquery-rjs.gemspec
  2. +1 −1 lib/jquery-rjs/renderers.rb
View
2 jquery-rjs.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'jquery-rjs'
- spec.version = '0.1.0'
+ spec.version = '0.1.1'
spec.summary = 'jQuery and RJS for Ruby on Rails'
spec.homepage = 'http://github.com/aaronchi/jquery-rjs'
spec.author = 'Aaron Eisenberger'
View
2 lib/jquery-rjs/renderers.rb
@@ -4,7 +4,7 @@ module ActionController
module Renderers
add :update do |proc, options|
view_context = self.view_context
- generator = ActionView::Helpers::PrototypeHelper::JavaScriptGenerator.new(view_context, &proc)
+ generator = ActionView::Helpers::JqueryHelper::JavaScriptGenerator.new(view_context, &proc)
self.content_type = Mime::JS
self.response_body = generator.to_s
end

0 comments on commit ba6244b

Please sign in to comment.
Something went wrong with that request. Please try again.