Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 345 Bytes
app = require('die')
base: __dirname
app.initialize ->
require './models'
@development ->
@apply require './sock'
app.configure ->
@use @middleware.bodyParser()
@use @middleware.cookieParser()
@use @middleware.session secret: 'topsecret'
@apply require './routes'
@get '*', ->
@render 'layout'
module.exports = app