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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---