map.resources, :as => root?
- by Newy
I'd like to map my Users to root - so '/:id'. I do the following now
map.connect ':id', :controller = 'users', :action = 'show'
... but I'd also like the links that are generated by Rails to have this format. Can I do a map.resources ... :as = :root or something similar?