Hello,
I have some ressources such as "systems", "tags", "categories", and I
would like to customize them path by adding just before a directory like
'admin/'. In order to do that, I had editing my routes.rb file with:
map.namespace 'admin' do |admin|
admin.resource :system
admin.resources :tags
admin.resources :categories
end
But that's not okay because, as you can see (after my rake routes
command), Rails consider as a controller "admin/systems" instead of
"systems".
Thanks for helping,
Panda
Attachments:
http://www.ruby-forum.com/attachment/2715/rake_routes.txt
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---