I am trying to create nested routes
i have controller explores without model. (i.e this controller dont
And then there are other two.
so i am trying to create routes like this .
map.resources :explores do |explore|
explore.resources :categories do |category|
but this creating routes for explore_category_hobbies_path
I dont want explore_id into routes
i want it to create the path like this
Can anyone help me.