Permalink
Browse files

Reverted genertor

  • Loading branch information...
1 parent 3687a05 commit 867d359338ec5924753a2111dcb5928153d9f091 @whito committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators.js
View
@@ -429,7 +429,7 @@ exports.list = function () {
model = model.split('.').pop();
var models = pluralize(model).toLowerCase();
- code = fs.readFileSync(__dirname + '/../templates/crud_controller_json' + fileExtension);
+ code = fs.readFileSync(__dirname + '/../templates/crud_controller' + fileExtension);
code = code
.toString('utf8')
.replace(/new_model/g, addParents('new_', parents, model))

0 comments on commit 867d359

Please sign in to comment.