diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-16 13:42:19 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-16 13:42:19 -0200 |
commit | 15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58 (patch) | |
tree | e40ae769ab75fcdfb5ff561734f49fd5ea498b99 | |
parent | 0d00d65ad2d0821926c795c25161b8d1a010470c (diff) | |
download | rails-15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58.tar.gz rails-15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58.tar.bz2 rails-15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58.zip |
There's no need now to expose lookup_context as an external API
-rw-r--r-- | actionpack/lib/action_view/renderer/abstract_renderer.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/renderer/abstract_renderer.rb b/actionpack/lib/action_view/renderer/abstract_renderer.rb index 53412f631d..e63f39db48 100644 --- a/actionpack/lib/action_view/renderer/abstract_renderer.rb +++ b/actionpack/lib/action_view/renderer/abstract_renderer.rb @@ -1,9 +1,7 @@ module ActionView class AbstractRenderer #:nodoc: - attr_reader :lookup_context - delegate :find_template, :template_exists?, :with_fallbacks, :update_details, - :with_layout_format, :formats, :freeze_formats, :to => :lookup_context + :with_layout_format, :formats, :freeze_formats, :to => :@lookup_context def initialize(view) @view = view |