Permalink
Browse files

fix express example

  • Loading branch information...
1 parent 8a1e46b commit 7b1cb0963b0d8f2b49135779bb9cfabaf8b05836 @gradus committed Feb 21, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 examples/express/app.coffee
@@ -1,7 +1,9 @@
-app = require('express').createServer()
+express = require 'express'
+app = express()
coffeecup = require '../../src/coffeecup'
+app.set('view engine', 'coffee')
app.engine 'coffee', require('coffeecup').__express
app.get '/', (req, res) ->

0 comments on commit 7b1cb09

Please sign in to comment.