mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Helpers doc grammar fix [skip ci]
This commit is contained in:
parent
809236bc4c
commit
0c3012991a
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ module ActionController
|
|||
attrs.flatten.each { |attr| helper_method(attr, "#{attr}=") }
|
||||
end
|
||||
|
||||
# Provides a proxy to access helpers methods from outside the view.
|
||||
# Provides a proxy to access helper methods from outside the view.
|
||||
def helpers
|
||||
@helper_proxy ||= begin
|
||||
proxy = ActionView::Base.new
|
||||
|
@ -114,7 +114,7 @@ module ActionController
|
|||
end
|
||||
end
|
||||
|
||||
# Provides a proxy to access helpers methods from outside the view.
|
||||
# Provides a proxy to access helper methods from outside the view.
|
||||
def helpers
|
||||
@_helper_proxy ||= view_context
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue