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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want
app.engineinstead ofapp.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