aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/helpers.rb
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2005-09-08 12:08:24 +0000
committerNicholas Seckar <nseckar@gmail.com>2005-09-08 12:08:24 +0000
commitbf92aacf40f946432dbe3c294e26b5516637b8a4 (patch)
treecfed0a6a56db5c04239f0b56581f7a36cb2f1854 /actionpack/lib/action_controller/helpers.rb
parent689cca132a7da77c80637a938740f40277384fe9 (diff)
downloadrails-bf92aacf40f946432dbe3c294e26b5516637b8a4.tar.gz
rails-bf92aacf40f946432dbe3c294e26b5516637b8a4.tar.bz2
rails-bf92aacf40f946432dbe3c294e26b5516637b8a4.zip
Avoid extending view instance with helper modules each request. Closes #1979
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/helpers.rb')
-rw-r--r--actionpack/lib/action_controller/helpers.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/lib/action_controller/helpers.rb b/actionpack/lib/action_controller/helpers.rb
index 86653e4f06..df381079eb 100644
--- a/actionpack/lib/action_controller/helpers.rb
+++ b/actionpack/lib/action_controller/helpers.rb
@@ -16,11 +16,6 @@ module ActionController #:nodoc:
alias_method :inherited_without_helper, :inherited
alias_method :inherited, :inherited_with_helper
end
-
- # Wrap initialize_template_class to extend new template class
- # instances with the master helper module.
- alias_method :initialize_template_class_without_helper, :initialize_template_class
- alias_method :initialize_template_class, :initialize_template_class_with_helper
end
end
@@ -124,13 +119,5 @@ module ActionController #:nodoc:
end
end
end
-
- private
- # Extend the template class instance with our controller's helper module.
- def initialize_template_class_with_helper(response)
- returning(initialize_template_class_without_helper(response)) do
- response.template.extend self.class.master_helper_module
- end
- end
end
end