Skip to content

Commit

Permalink
Made zappa .coffee handler actually use CoffeeCup.
Browse files Browse the repository at this point in the history
Need tests, opened zappajs#5
  • Loading branch information
shimaore committed Apr 18, 2012
1 parent 39d00b5 commit 9bfdac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zappa.coffee
Expand Up @@ -115,7 +115,7 @@ zappa.app = (func) ->

# Zappa's default settings.
app.set 'view engine', 'coffee'
app.register '.coffee', zappa.adapter require('coffeekup').adapters.express,
app.register '.coffee', zappa.adapter require('coffeecup').adapters.express,
blacklist: ['format', 'autoescape', 'locals', 'hardcode', 'cache']

# Sets default view dir to @root (`path.dirname(module.parent.filename)`).
Expand Down

0 comments on commit 9bfdac1

Please sign in to comment.