diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-03-21 12:13:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 12:13:05 -0400 |
commit | ad37b79ec45dc3bb25b98daa872d803fad340916 (patch) | |
tree | a6db7235cd491dac0f512f3c062cdbf0d2ddeeb6 /actionview/lib | |
parent | 81b2cd115356d3a5b3bc28454658101efd16bfad (diff) | |
parent | 328ae33d78103de242e9d64fa471c64a76aae348 (diff) | |
download | rails-ad37b79ec45dc3bb25b98daa872d803fad340916.tar.gz rails-ad37b79ec45dc3bb25b98daa872d803fad340916.tar.bz2 rails-ad37b79ec45dc3bb25b98daa872d803fad340916.zip |
Merge pull request #28450 from adamgamble/bug_fix/fix_typo_in_actionview
Fix typo in actionview error message in to_form_params helper method
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb index a306903c60..304db38060 100644 --- a/actionview/lib/action_view/helpers/url_helper.rb +++ b/actionview/lib/action_view/helpers/url_helper.rb @@ -622,7 +622,7 @@ module ActionView def to_form_params(attribute, namespace = nil) attribute = if attribute.respond_to?(:permitted?) unless attribute.permitted? - raise ArgumentError, "Attempting to generate a buttom from non-sanitized request parameters!" \ + raise ArgumentError, "Attempting to generate a button from non-sanitized request parameters!" \ " Whitelist and sanitize passed parameters to be secure." end |