diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-01 11:53:09 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-01 13:40:12 +0200 |
commit | 2f683fd870d0e4c5aff38510ef03c7e5144a1ea4 (patch) | |
tree | eba0e7816c0460907bf3df6202c6056e84ccd430 /actionpack/lib/action_view/renderer/renderer.rb | |
parent | bebaccdf4a3a17f2ead349cca891032e245655ff (diff) | |
download | rails-2f683fd870d0e4c5aff38510ef03c7e5144a1ea4.tar.gz rails-2f683fd870d0e4c5aff38510ef03c7e5144a1ea4.tar.bz2 rails-2f683fd870d0e4c5aff38510ef03c7e5144a1ea4.zip |
Remove more dependencies from the view.
Diffstat (limited to 'actionpack/lib/action_view/renderer/renderer.rb')
-rw-r--r-- | actionpack/lib/action_view/renderer/renderer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/renderer/renderer.rb b/actionpack/lib/action_view/renderer/renderer.rb index f0ee103d80..7b95c2dd92 100644 --- a/actionpack/lib/action_view/renderer/renderer.rb +++ b/actionpack/lib/action_view/renderer/renderer.rb @@ -6,6 +6,7 @@ module ActionView attr_accessor :lookup_context # TODO: render_context should not be an initialization parameter + # TODO: controller should be received on initialization def initialize(lookup_context, render_context) @render_context = render_context @lookup_context = lookup_context |