Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, I'd still argue it would be cleaner if they're defined at the controller (I would also say the controller does not define them, the controller has them defined as attributes to it's class). Java devs don't seem to have a problem handling the "look for what path this is" either, in reality it's a grep or global search from your IDE away to be found.

The routes file for any moderately sized project will likely be sufficiently complex that you cannot simply Ctrl-F it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: