Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reverted genertor

  • Loading branch information...
commit 867d359338ec5924753a2111dcb5928153d9f091 1 parent 3687a05
@whito authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/generators.js
View
2  lib/generators.js
@@ -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))
Please sign in to comment.
Something went wrong with that request. Please try again.