Closed lookfirst closed 9 years ago
We have to declare the route again with the full details of the route. This is what actually registers it, the top level json routes are just for knowing where to get it.
Understood. Was hoping that there was a better way.
Right now, there is a
routes.json
file and in that file, we declare the top level routes. However, these same routes are also declared in saylogin.js
module configuration. It seems a bit DRY. Is there a way to clean this up?