new feature
This commit is contained in:
@@ -17,9 +17,9 @@ class Controllers implements OptionInterface
|
||||
|
||||
foreach ($controllerFiles as $controllerFile) {
|
||||
$controllers[] = [
|
||||
'label' => Str::of(File::name($controllerFile))->remove('Controller'),
|
||||
'label' => Str::of(File::name($controllerFile))->lcfirst()->remove('Controller'),
|
||||
|
||||
'value' => Str::of(File::name($controllerFile))->remove('Controller'),
|
||||
'value' => Str::of(File::name($controllerFile))->lcfirst()->remove('Controller'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@@ -14,9 +14,9 @@ class Modules implements OptionInterface
|
||||
|
||||
->each(function ($module) use (&$modules) {
|
||||
$modules[] = [
|
||||
'label' => $module['name'],
|
||||
'label' => $module['title'],
|
||||
|
||||
'value' => $module['path']
|
||||
'value' => $module['name']
|
||||
];
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user