提交 ae56c82e 编写于 作者: P Piotr Sarnacki 提交者: José Valim

Added config.action_controller.include_all_helpers to CHANGELOG.

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 250fb3f6
*Rails 3.1.0 (unreleased)*
* Added config.action_controller.include_all_helpers. By default 'helper :all' is done in ActionController::Base, which includes all the helpers by default. Setting include_all_helpers to false will result in including only application_helper and helper corresponding to controller (like foo_helper for foo_controller). [Piotr Sarnacki]
* Added a convenience idiom to generate HTML5 data-* attributes in tag helpers from a :data hash of options:
tag("div", :data => {:name => 'Stephen', :city_state => %w(Chicago IL)})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册