Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [250fb3f6c297e1f0bdc80a44ae6ac77c04cd9c85] by Piotr Sarnacki

Revision 250fb3f6c297e1f0bdc80a44ae6ac77c04cd9c85, committed by Piotr Sarnacki · November 17th, 2010 @ 11:20 PM

Add config.action_controller.include_all_helpers, by default it is set to true.

In older rails versions there was a way to use only helpers from
helper file corresponding to current controller and you could also
include all helpers by saying 'helper :all' in controller. This config
allows to return to older behavior by setting it to false.
https://github.com/rails/rails/commit/250fb3f6c297e1f0bdc80a44ae6ac...

3 changed files

  • M actionpack/lib/action_controller/metal/helpers.rb
  • M actionpack/lib/action_controller/railties/paths.rb
  • M railties/test/application/initializers/frameworks_test.rb