We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43978f5 commit ecfdb21Copy full SHA for ecfdb21
1 file changed
controller/index.js
@@ -8,9 +8,9 @@ var Generator = module.exports = function Generator() {
8
9
// if the controller name is suffixed with ctrl, remove the suffix
10
// if the controller name is just "ctrl," don't append/remove "ctrl"
11
- if (this.name && this.name.toLowerCase() !== 'ctrl' && this.name.substr(-4).toLowerCase() === 'ctrl') {
12
- this.name = this.name.slice(0, -4);
13
- }
+ // if (this.name && this.name.toLowerCase() !== 'ctrl' && this.name.substr(-4).toLowerCase() === 'ctrl') {
+ // this.name = this.name.slice(0, -4);
+ // }
14
};
15
16
util.inherits(Generator, ScriptBase);
0 commit comments