fix
This commit is contained in:
parent
4e104961d2
commit
a99d9bbe02
@ -22,11 +22,12 @@ class PermissionsController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Request $request
|
||||
* @return mixed
|
||||
*/
|
||||
public function index(): mixed
|
||||
public function index(Request $request): mixed
|
||||
{
|
||||
if (Request::get('from') == 'role') {
|
||||
if ($request->get('from') == 'role') {
|
||||
return $this->model->getList();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user