mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
9 lines
No EOL
247 B
CoffeeScript
9 lines
No EOL
247 B
CoffeeScript
log = require 'winston'
|
|
routes = require('../commons/mapping').routes
|
|
|
|
module.exports.setup = (app) ->
|
|
for route in routes
|
|
do (route) ->
|
|
module = require('../'+route)
|
|
module.setup app
|
|
log.debug "route module #{route} setup" |