We have an app with a large number of non-RESTful, verb-oriented controllers. I remember that long ago, before Rails got the REST religion, you could get automatic routes and helpers for those. Is there any way to still do this? It’s a pain to keep adding GETs every time we add an action, and our app (or perhaps our collective development brain) just doesn’t lend itself to RESTfulness.
We have an app with a large number of non-RESTful, verb-oriented controllers. I remember
Share
You can use the “magic route”, I believe it’s still in the routes file by default, but if you don’t have it here it is: