aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-10-16 13:42:19 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2010-10-16 13:42:19 -0200
commit15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58 (patch)
treee40ae769ab75fcdfb5ff561734f49fd5ea498b99 /actionpack
parent0d00d65ad2d0821926c795c25161b8d1a010470c (diff)
downloadrails-15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58.tar.gz
rails-15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58.tar.bz2
rails-15d3c77bc272e5bd3c54d7ed40e9a4ecb1dfdf58.zip
There's no need now to expose lookup_context as an external API
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/renderer/abstract_renderer.rb4
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