Skip to content

Commit 56e3ebc

Browse files
committed
refactor(controller): add new keywords from getting pluralized
1 parent 85d4246 commit 56e3ebc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

commands/Make/Controller.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ export default class MakeController extends BaseGenerator {
2525
protected $resourceName: string
2626

2727
/**
28-
* Do not pluralize `HomeController` name
28+
* Do not pluralize following controller names
2929
*/
30-
protected $formIgnoreList = ['Home']
30+
protected $formIgnoreList = [
31+
'Home',
32+
'Auth',
33+
'Login',
34+
'Authentication',
35+
]
3136

3237
/**
3338
* Command meta data

0 commit comments

Comments
 (0)