Skip to content

Commit

Permalink
Update plugins setup in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
romanmt committed Oct 18, 2013
1 parent aa6e847 commit 51ecdf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Use mongoose's plugin method to extend your models with supergoose

```javascript
var supergoose = require('supergoose')
var Click = new Schema({ ... });
Click.plugin(supergoose, [options]);
mongoose.model('Click', Click)
var ClickSchema = new Schema({ ... });
ClickSchema.plugin(supergoose, [options]);
var Click = mongoose.model('Click', ClickSchema)
```

__Arguments__
Expand Down

0 comments on commit 51ecdf1

Please sign in to comment.