Displaying 1 result from an estimated 1 matches for "users_user_utag".
Did you mean:
users_user_tags
2010 Apr 18
0
Rails 3: new namespace inside nested resource?
...urces :users do
resources :tags
end
and I''d like to place the tags controller inside controllers/users,
with the equivalent for templates.
If I try this:
resources :users do
namespace :users do
resources :tags
end
end
I''ll get redundant route names:
users_user_tags, users_user_utag, etc
This doesn''t work either:
resources :users do
resources :tags, :module => :users
end
And yet, nested resources seem like a good candidate to use
namespaces, to better organize files and avoid name conflicts.
Thanks,
--
Adriano
--
You received this message because you are s...