We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3dff30c + a78c766 commit 2a44ff1Copy full SHA for 2a44ff1
actionpack/lib/action_controller/metal/helpers.rb
@@ -11,7 +11,12 @@ module ActionController
11
#
12
# In previous versions of \Rails the controller will include a helper which
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+.
+ # 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
20
21
# Additional helpers can be specified using the +helper+ class method in ActionController::Base or any
22
# controller which inherits from it.
0 commit comments