Oza94 / node-press

A minimalist content management system running on node.js. See it live at http://node-press.com/
4 stars 1 forks source link

Use express router feature #28

Closed Oza94 closed 9 years ago

Oza94 commented 9 years ago

Currently all the routes are declared in config/routes.js.

We should use the express router feature. IMO, each controller should expose a router. All routers are registered to the app in config/routes.js.