I have question about param name for nested resources in rails routes For example i have:
resources :controller1, param: :controller_id do
resources :controller2
end
and i have routes:
controller1/:controller_id/
...
controller1/:controller_controller_id/controller2/...
...
I want single :controller_id for controller1 I know it's looks bad, but How do this? Thanks!