aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
diff options
context:
space:
mode:
authorMohamed Wael Khobalatte <wael.khobalatte@gmail.com>2014-09-19 00:15:24 +0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-25 17:40:26 -0300
commitf10b38bbc875bbf016862602b9383b95e59e352a (patch)
tree851dfa8132abb3ae8a872fdd9750040ecee1364c /actionpack/lib/action_dispatch/routing/route_set.rb
parent0863c9248fd47a15e88e05ce4fcd80966684c0e3 (diff)
downloadrails-f10b38bbc875bbf016862602b9383b95e59e352a.tar.gz
rails-f10b38bbc875bbf016862602b9383b95e59e352a.tar.bz2
rails-f10b38bbc875bbf016862602b9383b95e59e352a.zip
Ensure named path params are symbols (Fixes #16958)
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index f51bee3b31..602d2b3944 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -287,6 +287,7 @@ module ActionDispatch
}
end
+ inner_options.symbolize_keys!
result.merge!(inner_options)
end
end