|
|
@ -53,7 +53,7 @@ class CheckPermission |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$methodArr = ['create', 'edit']; |
|
|
$methodArr = ['create', 'edit']; |
|
|
$actionArr = explode('/', trim($action)); |
|
|
$actionArr = explode('.', trim($action)); |
|
|
$method = $actionArr[1] ?? ''; |
|
|
$method = $actionArr[1] ?? ''; |
|
|
$newAction = $actionArr[0] ?? ''; |
|
|
$newAction = $actionArr[0] ?? ''; |
|
|
|
|
|
|
|
|
|