diff --git a/lib/controller-generator.js b/lib/crud-controller-generator.js similarity index 100% rename from lib/controller-generator.js rename to lib/crud-controller-generator.js diff --git a/server/controllers/color.controller.js b/server/controllers/color.controller.js index 2f8892b..49b2738 100644 --- a/server/controllers/color.controller.js +++ b/server/controllers/color.controller.js @@ -1,4 +1,4 @@ 'use strict'; -const generateController = require('../../lib/controller-generator.js'); -exports.ColorController = generateController('color'); +const generateCrudController = require('../../lib/crud-controller-generator.js'); +exports.ColorController = generateCrudController('color');