aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2010-01-03 21:32:02 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2010-01-03 21:32:02 -0500
commit090d12b49b80303ad521ce75b01ea89752417303 (patch)
tree1caf723423f8f89497a09403e6da4334590f7e49 /actionpack
parent3e6e3e90ef432f9fa70ee07e4ac4924e9005dc71 (diff)
downloadrails-090d12b49b80303ad521ce75b01ea89752417303.tar.gz
rails-090d12b49b80303ad521ce75b01ea89752417303.tar.bz2
rails-090d12b49b80303ad521ce75b01ea89752417303.zip
Added that ActionController::Base now does helper :all instead of relying on the default ApplicationController in Rails to do it [DHH]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/lib/action_controller/base.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 782b4229fb..7673b9fe56 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*Edge*
+* Added that ActionController::Base now does helper :all instead of relying on the default ApplicationController in Rails to do it [DHH]
+
* Added ActionDispatch::Request#authorization to access the http authentication header regardless of its proxy hiding [DHH]
* Added :alert, :notice, and :flash as options to ActionController::Base#redirect_to that'll automatically set the proper flash before the redirection [DHH]. Examples:
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index b23be66910..746ab3e6db 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -6,6 +6,8 @@ module ActionController
include AbstractController::Layouts
include ActionController::Helpers
+ helper :all # By default, all helpers should be included
+
include ActionController::HideActions
include ActionController::UrlFor
include ActionController::Redirecting