diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-13 10:41:39 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-13 10:41:39 -0700 |
commit | 566f25beeee1837099451d4bc314301d72c61503 (patch) | |
tree | f6f435d24fb165aecb1392894173dbcc2584ccf9 /actionpack | |
parent | 977d36af8f84f467b6e4d21115cd4f84e50cfcb3 (diff) | |
download | rails-566f25beeee1837099451d4bc314301d72c61503.tar.gz rails-566f25beeee1837099451d4bc314301d72c61503.tar.bz2 rails-566f25beeee1837099451d4bc314301d72c61503.zip |
options already have symbolized keys, so we can avoid this call
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 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 |