File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
actionpack/lib/action_controller/metal Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,12 @@ module ActionController
11
11
#
12
12
# In previous versions of \Rails the controller will include a helper which
13
13
# matches the name of the controller, e.g., <tt>MyController</tt> will automatically
14
- # include <tt>MyHelper</tt>. To return old behavior set +config.action_controller.include_all_helpers+ to +false+.
14
+ # include <tt>MyHelper</tt>. You can revert to the old behavior with the following:
15
+ #
16
+ # # config/application.rb
17
+ # class Application < Rails::Application
18
+ # config.action_controller.include_all_helpers = false
19
+ # end
15
20
#
16
21
# Additional helpers can be specified using the +helper+ class method in ActionController::Base or any
17
22
# controller which inherits from it.
You can’t perform that action at this time.
0 commit comments