I’m trying to create Ruby on Rails 3 application and have a question. I have created “Profile” controller that is accessible via following url – “/profile” – that is fine. After that I have added “Product” controller that is now accessible via “/products” url.
How to make Product’s controller accessible via next url – “/profile/products” ?
Thanks in advance for your help !
Take a look at Nested Resources