aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-02-21 12:50:41 +0000
committerAndrew White <andrew.white@unboxed.co>2017-02-21 15:30:47 +0000
commitef862c04e5cc4deed04e0ffc70af88431803efe6 (patch)
treee77afbff7182e585029bb6bdd66b0e27d124decd /actionpack/lib/action_dispatch/routing
parent050d7b1b921b7ce782fab23b5e418e6c539e78e0 (diff)
downloadrails-ef862c04e5cc4deed04e0ffc70af88431803efe6.tar.gz
rails-ef862c04e5cc4deed04e0ffc70af88431803efe6.tar.bz2
rails-ef862c04e5cc4deed04e0ffc70af88431803efe6.zip
Fix typo in exception message
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb2
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!