Permalink
Browse files

Merge pull request #1 from tedkulp/patch-1

Missing an important comma
  • Loading branch information...
2 parents 8bc46cd + faa3f3f commit f26429c4436b9f9222d728415b47919ab6af456f @nicholasconfer committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -27,7 +27,7 @@ example = mongoose.model "Example", ExampleSchema
```
If you'd like to change the name of the key properties in your document just set them when calling the plugin method with the `created` and `lastUpdated` options
```
-ExampleSchema.plugin timestamps { created: "created_at", lastUpdated: "updated_at" }
+ExampleSchema.plugin timestamps, { created: "created_at", lastUpdated: "updated_at" }
```
### JavaScript Example

0 comments on commit f26429c

Please sign in to comment.