At the moment I have the following route in my routes.rb file
map.resources :categories do |categories|
product belongs_to a category
a category has_many products
is it possible to create a route where I could have something like:
I can’t seem to get both of the controllers working together to create
Thanks in advance.