fixed api permission for modules
This commit is contained in:
parent
e514ea839d
commit
f8d10f60a2
@ -449,7 +449,7 @@ trait Permissions
|
||||
}
|
||||
|
||||
// Add folder
|
||||
if (strtolower($arr[1]) != 'controllers') {
|
||||
if (!in_array(strtolower($arr[1]), ['api', 'controllers'])) {
|
||||
$controller .= Str::kebab($arr[1]) . '-';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user