1
0
Fork 0
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:
Jon Atack 2016-05-07 17:15:23 +02:00
parent 809236bc4c
commit 0c3012991a

View file

@ -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