I've dabbled in a few MVC frameworks (like Rails and its ilk) and I've noticed that the file that defines restful routes often go separate from controllers which hold the actions executed through those routes.
For example, let's say that there is a route
That go to UserController.create action.
I would expect it to be defined as part of the controller but it is often defined in some
Why is this?