Skip to content

Commit

Permalink
fix express example
Browse files Browse the repository at this point in the history
  • Loading branch information
gradus committed Feb 21, 2013
1 parent 8a1e46b commit 7b1cb09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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) ->
Expand Down

0 comments on commit 7b1cb09

Please sign in to comment.