diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-01 16:04:18 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-12 15:54:42 -0700 |
commit | b5d25486aa8c227d3eb53d74583032600b07b627 (patch) | |
tree | 513193b832793844708989736ac1cf7eb1508a5c /actionpack/lib/action_dispatch | |
parent | 42d6700b7cfe9e6beb935d31597ad8b3762d9ee2 (diff) | |
download | rails-b5d25486aa8c227d3eb53d74583032600b07b627.tar.gz rails-b5d25486aa8c227d3eb53d74583032600b07b627.tar.bz2 rails-b5d25486aa8c227d3eb53d74583032600b07b627.zip |
record as a hash is not possible, so rm branch
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/polymorphic_routes.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb index afd971e7a5..ea1601fc5a 100644 --- a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb +++ b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb @@ -130,8 +130,6 @@ module ActionDispatch elsif record.is_a?(Class) args.pop :plural - elsif record.is_a?(Hash) - :singular else :singular end |