|
|
|
|
|
by eob
5854 days ago
|
|
At that point, I suppose it is just a matter of taste: should the routes be specified inside each controller class, or should they be specified in a separate configuration file. The over-engineer in me likes the way Rails 3 does it. That way I can pretend that my code is reusable, as the URL is decoupled from the code that eventually implements its handler. But I suppose there is also something nice about a controller which self-defines the way in which it can be accessed. |
|
You don't have to pretend ... it actually is reusable. I don't get what's "over-engineer"ed about it.