diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-26 16:17:58 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-26 16:17:58 -0500 |
commit | 6ec07e0737c3099056fc11fe43f4f19dde3770a6 (patch) | |
tree | 7911a26c4ed148c706951a301a1ebdc2e46af8e2 /actionpack/lib/action_controller | |
parent | cd91a8d3adb70e573ab8d0d733a966db5eff1e1d (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 2 |
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 |