Permalink
Browse files

Merge pull request #85 from mohsen1/patch-1

Don't use createServer in README example
  • Loading branch information...
2 parents 6aff821 + 6449260 commit eed1a1f0acd83053b9fdc309f67829b6f4973333 @mereskin mereskin committed Mar 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
@@ -45,7 +45,7 @@ The `app.resource()` method returns a new `Resource` object, which can be used t
var express = require('express')
, Resource = require('express-resource')
- , app = express.createServer();
+ , app = express();
app.resource('forums', require('./forum'));

0 comments on commit eed1a1f

Please sign in to comment.