diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-02-21 12:50:41 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-02-21 15:30:47 +0000 |
commit | ef862c04e5cc4deed04e0ffc70af88431803efe6 (patch) | |
tree | e77afbff7182e585029bb6bdd66b0e27d124decd /actionpack | |
parent | 050d7b1b921b7ce782fab23b5e418e6c539e78e0 (diff) | |
download | rails-ef862c04e5cc4deed04e0ffc70af88431803efe6.tar.gz rails-ef862c04e5cc4deed04e0ffc70af88431803efe6.tar.bz2 rails-ef862c04e5cc4deed04e0ffc70af88431803efe6.zip |
Fix typo in exception message
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 7cab421887..832f6f12ab 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -633,7 +633,7 @@ module ActionDispatch if url_options.permitted? t.url_for(url_options.to_h.merge(outer_options)) else - raise ArgumentError, "Generating an URL from non sanitized request parameters is insecure!" + raise ArgumentError, "Generating a URL from non sanitized request parameters is insecure!" end when Array opts = url_options.extract_options! |