Permalink
Browse files

Added that ActionController::Base now does helper :all instead of rel…

…ying on the default ApplicationController in Rails to do it [DHH]
  • Loading branch information...
dhh committed Jan 4, 2010
1 parent 3e6e3e9 commit 090d12b49b80303ad521ce75b01ea89752417303
@@ -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:
@@ -6,6 +6,8 @@ class Base < Metal
include AbstractController::Layouts
include ActionController::Helpers
helper :all # By default, all helpers should be included
include ActionController::HideActions
include ActionController::UrlFor
include ActionController::Redirecting
@@ -2,7 +2,6 @@
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
helper :all
protect_from_forgery
filter_parameter_logging :password
end

0 comments on commit 090d12b

Please sign in to comment.