UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

7 lines (6 loc) 214 B
exports.routes = function (map) { // Generic routes. Add all your routes below this line // feel free to remove generic routes map.all(':controller/:action'); map.all(':controller/:action/:id'); };