From b5d25486aa8c227d3eb53d74583032600b07b627 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 1 May 2014 16:04:18 -0700 Subject: record as a hash is not possible, so rm branch --- actionpack/lib/action_dispatch/routing/polymorphic_routes.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionpack/lib/action_dispatch') 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 -- cgit v1.2.3