From 1a8f784a236058101c6e8b6387aefc96e86a1e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 7 Jun 2010 11:20:54 +0200 Subject: member on resource should not expect an ID. --- actionpack/lib/action_dispatch/routing/mapper.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'actionpack/lib/action_dispatch') diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 63c553dd07..ae4417b56c 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -635,9 +635,7 @@ module ActionDispatch end when :resource with_scope_level(:member) do - scope(':id', :as => "") do - yield - end + yield end end end -- cgit v1.2.3