1
0
Fork 0

Fixed a forgotten todo variable name

This commit is contained in:
Michael Hackstein 2014-12-15 11:57:24 +01:00
parent 85da13197d
commit 2c026cecb4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
*/
controller.post('/<%= basePath %>', function (req, res) {
var <%= modelInstance %> = req.params('<%= modelInstance %>');
res.json(<%= repositoryInstance %>.save(todo).forClient());
res.json(<%= repositoryInstance %>.save(<%= modelInstance %>).forClient());
}).bodyParam('<%= modelInstance %>', 'The <%= model %> you want to create', <%= model %>);
/** Updates a <%= model %>