aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/resources.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/resources.rb')
-rw-r--r--actionpack/lib/action_controller/resources.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/resources.rb b/actionpack/lib/action_controller/resources.rb
index 94f944f842..fd3c08c303 100644
--- a/actionpack/lib/action_controller/resources.rb
+++ b/actionpack/lib/action_controller/resources.rb
@@ -307,7 +307,7 @@ module ActionController
map_member_actions(map, resource)
if block_given?
- with_options(:path_prefix => resource.singular, &block)
+ with_options(:path_prefix => resource.nesting_path_prefix, &block)
end
end
end