Skip to content

Commit

Permalink
Fixed separate
Browse files Browse the repository at this point in the history
  • Loading branch information
maggask committed Nov 13, 2014
1 parent fd6ff74 commit 27dcc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Week09/Express.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mongoose.model('Todo', TodoSchema);

A fairly simple Schema that uses three different data types, you can check out other datatypes that mongoose offers [here](http://mongoosejs.com/docs/schematypes.html).

So we got our Schema defined now we need to add some operations to our Schema. Because this is a RESTful API we need to define CRUD methods. We add these methods in a seperate file under the controllers folder.
So we got our Schema defined now we need to add some operations to our Schema. Because this is a RESTful API we need to define CRUD methods. We add these methods in a separate file under the controllers folder.

```javascript
var mongoose = require('mongoose'),
Expand Down

0 comments on commit 27dcc73

Please sign in to comment.