default shred name rails resources routing


i wish emanate lane rails concentration along lines of



/panda/blog
/tiger/blog
/dog/blog


where panda, tiger, dog permalinks (for an animal class)



the normal proceed doing this



map.resources :animals |animal|
animal.resource :blog
end


would emanate routes along lines of



/animals/panda/blog
/animals/tiger/blog
/animals/dog/blog


but i wish initial segment, always same.



i know i authority routing, nonetheless i wish know controlling rails resources, carrying animals blogs requirement me.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?