From c9417dcef379ec3e87fed63d32636697c2d19939 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 1 Aug 2006 01:23:06 +0000 Subject: Nested resource testing. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/resources.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_controller/resources.rb b/actionpack/lib/action_controller/resources.rb index 638052a2aa..35ca2dcf2f 100644 --- a/actionpack/lib/action_controller/resources.rb +++ b/actionpack/lib/action_controller/resources.rb @@ -34,7 +34,7 @@ module ActionController end def nesting_path_prefix - "#{path_prefix}/#{plural}/:#{singular}_id" + "#{path}/:#{singular}_id" end private -- cgit v1.2.3