aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-08-26 16:17:58 -0500
committerJoshua Peek <josh@joshpeek.com>2008-08-26 16:17:58 -0500
commit6ec07e0737c3099056fc11fe43f4f19dde3770a6 (patch)
tree7911a26c4ed148c706951a301a1ebdc2e46af8e2 /actionpack/lib/action_controller/base.rb
parentcd91a8d3adb70e573ab8d0d733a966db5eff1e1d (diff)
downloadrails-6ec07e0737c3099056fc11fe43f4f19dde3770a6.tar.gz
rails-6ec07e0737c3099056fc11fe43f4f19dde3770a6.tar.bz2
rails-6ec07e0737c3099056fc11fe43f4f19dde3770a6.zip
Store application and other context specific helper modules in ActionView::Base#helpers
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rw-r--r--actionpack/lib/action_controller/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 91023cd774..55e1d48949 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -1148,7 +1148,7 @@ module ActionController #:nodoc:
def initialize_template_class(response)
response.template = ActionView::Base.new(self.class.view_paths, {}, self)
- response.template.extend self.class.master_helper_module
+ response.template.helpers.send :include, self.class.master_helper_module
response.redirected_to = nil
@performed_render = @performed_redirect = false
end