diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2011-09-03 23:13:40 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2011-09-03 23:13:40 +0400 |
commit | 19ec3c1ae6d0e0b452a4b2d92b4840abb23f4035 (patch) | |
tree | 2596e5131ae45a3809013b096a9ea125f56d387f /actionpack | |
parent | d50c0acc95d9ac9b258594c7d68e1eeef9b6d41e (diff) | |
download | rails-19ec3c1ae6d0e0b452a4b2d92b4840abb23f4035.tar.gz rails-19ec3c1ae6d0e0b452a4b2d92b4840abb23f4035.tar.bz2 rails-19ec3c1ae6d0e0b452a4b2d92b4840abb23f4035.zip |
fix helpers behavior description
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/helpers.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb index 2df0e9422c..bd515bba82 100644 --- a/actionpack/lib/action_controller/metal/helpers.rb +++ b/actionpack/lib/action_controller/metal/helpers.rb @@ -7,9 +7,12 @@ module ActionController # by default. # # In addition to using the standard template helpers provided, creating custom helpers to - # extract complicated logic or reusable functionality is strongly encouraged. By default, the controller will - # include a helper whose name matches that of the controller, e.g., <tt>MyController</tt> will automatically - # include <tt>MyHelper</tt>. + # extract complicated logic or reusable functionality is strongly encouraged. By default, each controller + # will include all helpers. + # + # In previous versions of \Rails the controller will include a helper whose + # name matches that of the controller, e.g., <tt>MyController</tt> will automatically + # include <tt>MyHelper</tt>. To return old behavior set +config.action_controller.include_all_helpers+ to +false+. # # Additional helpers can be specified using the +helper+ class method in ActionController::Base or any # controller which inherits from it. |