aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-24 12:04:37 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-24 12:04:37 +0100
commit37e4deb2606557e5340b48169ffc1435bb331439 (patch)
treebca542b9bf9be6888f9a444efa4aac4a7be6d968 /actionpack/lib/action_controller/base.rb
parente0bdc4f446686a498c3117e27ed8561f5c6d34f1 (diff)
downloadrails-37e4deb2606557e5340b48169ffc1435bb331439.tar.gz
rails-37e4deb2606557e5340b48169ffc1435bb331439.tar.bz2
rails-37e4deb2606557e5340b48169ffc1435bb331439.zip
Ensure helpers work from configured path.
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 f46231d72b..215b70734c 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -7,7 +7,6 @@ module ActionController
include AbstractController::Translation
include ActionController::Helpers
- helper :all # By default, all helpers should be included
include ActionController::HideActions
include ActionController::UrlFor
@@ -67,6 +66,7 @@ module ActionController
def self.inherited(klass)
::ActionController::Base.subclasses << klass.to_s
super
+ klass.helper :all
end
def self.subclasses