diff options
author | Nick Sutterer <apotonick@gmail.com> | 2011-05-04 00:12:11 +0200 |
---|---|---|
committer | Nick Sutterer <apotonick@gmail.com> | 2011-05-04 00:12:11 +0200 |
commit | eb327c1bab918c7d9ab723550f767529771d2e19 (patch) | |
tree | 3a3aedaec37ea8ef02b6e99f104b4f1fc2f721e7 /actionpack/lib/abstract_controller/rendering.rb | |
parent | b4bc2c50ca9887dec7cd9095a5bc84e2d6677e43 (diff) | |
download | rails-eb327c1bab918c7d9ab723550f767529771d2e19.tar.gz rails-eb327c1bab918c7d9ab723550f767529771d2e19.tar.bz2 rails-eb327c1bab918c7d9ab723550f767529771d2e19.zip |
no @controller dependency in Renderers.
Diffstat (limited to 'actionpack/lib/abstract_controller/rendering.rb')
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb index 7f1a790ecc..8789168ca7 100644 --- a/actionpack/lib/abstract_controller/rendering.rb +++ b/actionpack/lib/abstract_controller/rendering.rb @@ -104,7 +104,7 @@ module AbstractController # Returns an object that is able to render templates. def view_renderer - @view_renderer ||= ActionView::Renderer.new(lookup_context, self) + @view_renderer ||= ActionView::Renderer.new(lookup_context) end # Normalize arguments, options and then delegates render_to_body and |