From 566f25beeee1837099451d4bc314301d72c61503 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 13 May 2014 10:41:39 -0700 Subject: options already have symbolized keys, so we can avoid this call --- actionpack/lib/action_dispatch/routing/route_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb') diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index d380564c23..62928e2777 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -228,7 +228,7 @@ module ActionDispatch options = handle_positional_args(t, args, @options, @segment_keys) hash = { :only_path => options[:host].nil? - }.merge!(options.symbolize_keys) + }.merge!(options) hash.reverse_merge!(t.url_options) t._routes.url_for(hash) end -- cgit v1.2.3