mirror of https://github.com/rails/rails
Add example to modules_for_helpers documentation [ci-skip]
This commit is contained in:
parent
9c3ffab47c
commit
930649598f
|
@ -82,6 +82,9 @@ module AbstractController
|
|||
# Given an array of values like the ones accepted by +helper+, this method
|
||||
# returns an array with the corresponding modules, in the same order.
|
||||
#
|
||||
# ActionController::Base.modules_for_helpers(["application", "chart", "rubygems"])
|
||||
# # => [ApplicationHelper, ChartHelper, RubygemsHelper]
|
||||
#
|
||||
#--
|
||||
# Implemented by Resolution#modules_for_helpers.
|
||||
|
||||
|
|
Loading…
Reference in New Issue