nested restful resources without controller name in the url


first, sorry for my english.

i have this resources in routes.rb:

map.resources :artists, :path_prefix => '/music' do |artists|
artists.resources :albums do |albums|
albums.resources :tracks

with this i have this type of url's:

my question is if it's possible to hide the controller name in the url somehow
to have url's of type:

if this possible?, breaks somehow the rest philoshopy?


Hi Antonio,

I don't have an answer for exactly how to construct the routes w/out
the controller names (sorry), but I read this post on Jamis' blog
recently and thought it might be relevant for you:

- BD