提交 fa418361 编写于 作者: R Rafael Mendonça França

Merge pull request #11673 from jetthoughts/11671_describe_access_to_helpers_from_controller

Improve documentation for controller how to get included helpers
...@@ -5,7 +5,7 @@ module ActionController ...@@ -5,7 +5,7 @@ module ActionController
# #
# In addition to using the standard template helpers provided, creating custom helpers to # In addition to using the standard template helpers provided, creating custom helpers to
# extract complicated logic or reusable functionality is strongly encouraged. By default, each controller # extract complicated logic or reusable functionality is strongly encouraged. By default, each controller
# will include all helpers. # will include all helpers. These helpers are only accessible on the controller through <tt>.helpers</tt>
# #
# In previous versions of \Rails the controller will include a helper whose # 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 # name matches that of the controller, e.g., <tt>MyController</tt> will automatically
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册