Hello experts, I've got two different models and controllers. Lets call them Author and Book respectively. Also Author has_many :books, and Book belong_to :author.
with this setup I get urls looking like http://localhost:3000/author/14/book/173. Is there a way to get rid of the 'book' controller name from the url? I'd be more happy to see http://localhost:3000/author/14/173 instead. Or my design is completely wrong and I am missing something importing? I hope this can be accomplished with a routes, but not sure how. Please point me out to the right direction. Regards, Chandra --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

