diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-06 19:45:40 -0300 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-06 19:45:40 -0300 |
commit | af375a5eb3aba149590be1636480e1c3976c124f (patch) | |
tree | 250d682085fe30291a47ee38cf19e6ddca7b68f3 /actionpack/lib/action_controller/base/render_options.rb | |
parent | f0945409d935cdd3cb783a728d68414e7ca02dfc (diff) | |
download | rails-af375a5eb3aba149590be1636480e1c3976c124f.tar.gz rails-af375a5eb3aba149590be1636480e1c3976c124f.tar.bz2 rails-af375a5eb3aba149590be1636480e1c3976c124f.zip |
Replace _action_view with view_context to reflect that it is public and that it does not need to be an ActionView instance
Diffstat (limited to 'actionpack/lib/action_controller/base/render_options.rb')
-rw-r--r-- | actionpack/lib/action_controller/base/render_options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base/render_options.rb b/actionpack/lib/action_controller/base/render_options.rb index fc9a02626f..65ee09883e 100644 --- a/actionpack/lib/action_controller/base/render_options.rb +++ b/actionpack/lib/action_controller/base/render_options.rb @@ -85,7 +85,7 @@ module ActionController register_renderer :update def _render_update(proc, options) - generator = ActionView::Helpers::PrototypeHelper::JavaScriptGenerator.new(_action_view, &proc) + generator = ActionView::Helpers::PrototypeHelper::JavaScriptGenerator.new(view_context, &proc) self.content_type = Mime::JS self.response_body = generator.to_s end |