mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
9 lines
254 B
CoffeeScript
9 lines
254 B
CoffeeScript
|
winston = require 'winston'
|
||
|
routes = require('../commons/mapping').routes
|
||
|
|
||
|
module.exports.setup = (app) ->
|
||
|
for route in routes
|
||
|
do (route) ->
|
||
|
module = require('../'+route)
|
||
|
module.setup app
|
||
|
winston.info "route module #{route} setup"
|