I'm trying to use coffeekup as my default template
app.set 'view engine', 'coffee'
app.register '.coffee', coffeekup.adapters.express
except app.register isn't a function it looks like. whats the migration?
I'm trying to use coffeekup as my default template
app.set 'view engine', 'coffee'
app.register '.coffee', coffeekup.adapters.express
except app.register isn't a function it looks like. whats the migration?
coffeekup was Changed to 'coffeecup'
follow this link : https://github.com/gradus/coffeecup
You want app.engine
instead of app.register
-- the guide needs to be updated.
Check out the unit tests for examples: https://github.com/visionmedia/express/blob/master/test/app.engine.js