Browse files

record as a hash is not possible, so rm branch

  • Loading branch information...
1 parent 42d6700 commit b5d25486aa8c227d3eb53d74583032600b07b627 @tenderlove tenderlove committed May 1, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
View
2 actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
@@ -130,8 +130,6 @@ def polymorphic_url(record_or_hash_or_array, options = {})
elsif record.is_a?(Class)
args.pop
:plural
- elsif record.is_a?(Hash)
- :singular
else
:singular
end

0 comments on commit b5d2548

Please sign in to comment.