Skip to content

Commit

Permalink
Merge pull request #24904 from jonatack/helpers-grammar-fixes
Browse files Browse the repository at this point in the history
Helpers doc grammar fix [skip ci]
  • Loading branch information
maclover7 committed May 7, 2016
2 parents 809236b + 0c30129 commit db6a11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_controller/metal/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def helper_attr(*attrs)
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
Expand Down Expand Up @@ -114,7 +114,7 @@ def all_application_helpers
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
Expand Down

0 comments on commit db6a11b

Please sign in to comment.