diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-01 01:23:06 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-01 01:23:06 +0000 |
commit | c9417dcef379ec3e87fed63d32636697c2d19939 (patch) | |
tree | 16d593ce52583a47f9d0741b41a03dea082a1f89 /actionpack/lib/action_controller/resources.rb | |
parent | a247d72139f918e38c129d31572167db5170ee5d (diff) | |
download | rails-c9417dcef379ec3e87fed63d32636697c2d19939.tar.gz rails-c9417dcef379ec3e87fed63d32636697c2d19939.tar.bz2 rails-c9417dcef379ec3e87fed63d32636697c2d19939.zip |
Nested resource testing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/resources.rb')
-rw-r--r-- | actionpack/lib/action_controller/resources.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |