diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-27 05:07:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-27 05:07:56 +0000 |
commit | 8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2 (patch) | |
tree | 9b58647a714af9e483d0286ce51dc4aa294d3d10 /actionpack/lib/action_controller | |
parent | 0adf4a97c1f29a7230e00d39c04c8b4a6053fa65 (diff) | |
download | rails-8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2.tar.gz rails-8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2.tar.bz2 rails-8bf1f2525498c51b6bca7bdc6b19cb58c9303ba2.zip |
Name prefix should nest like path prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-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 65755d247a..63f2b67755 100644 --- a/actionpack/lib/action_controller/resources.rb +++ b/actionpack/lib/action_controller/resources.rb @@ -45,7 +45,7 @@ module ActionController end def nesting_name_prefix - "#{singular}_" + "#{name_prefix}#{singular}_" end |