elderwand 0.1.46 → 0.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -419,7 +419,7 @@ module.exports.inherit = function (child) {
419
419
  //};
420
420
  var model = req[child.singularName];
421
421
  if (model && model.canEditByUser(req.user)) {
422
- model.removeOne(function (err) {
422
+ model.remove(function (err) {
423
423
  req.flash('info', 'Başarıyla Silindi');
424
424
  res.statusData = "Success"
425
425
  res.redirect('/' + child.pluralName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elderwand",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "KLE Technologies Internal Framework",
5
5
  "main": "./node_modules/.bin/nodemon index.js",
6
6
  "scripts": {