Routes and spacename

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