aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/cache_helper.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-22 10:18:19 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-22 10:19:01 -0600
commit1a750da130223867195503d284cf4c73a345eee5 (patch)
treec73815d1d84e8c1f4bceb2e86fea458ea5c3abf1 /actionpack/lib/action_view/helpers/cache_helper.rb
parent4afd9702fe111a5cbaa0d9572e7661c90b188d49 (diff)
downloadrails-1a750da130223867195503d284cf4c73a345eee5.tar.gz
rails-1a750da130223867195503d284cf4c73a345eee5.tar.bz2
rails-1a750da130223867195503d284cf4c73a345eee5.zip
Make @controller an internal ivar in the view
Diffstat (limited to 'actionpack/lib/action_view/helpers/cache_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/cache_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/cache_helper.rb b/actionpack/lib/action_view/helpers/cache_helper.rb
index 64d1ad2715..d5cc14b29a 100644
--- a/actionpack/lib/action_view/helpers/cache_helper.rb
+++ b/actionpack/lib/action_view/helpers/cache_helper.rb
@@ -32,7 +32,7 @@ module ActionView
# <i>Topics listed alphabetically</i>
# <% end %>
def cache(name = {}, options = nil, &block)
- @controller.fragment_for(output_buffer, name, options, &block)
+ controller.fragment_for(output_buffer, name, options, &block)
end
end
end