I have two routes for two actions in same controller as below. is this the right way or is there a way to call them together since they are in same controller?
resources :abc, only: [] do
get 'help', controller: 'my_controller', on: :collection
get 'update', controller: 'my_controller', on: :collection
Aucun commentaire:
Enregistrer un commentaire