Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class UserRoleController extends Controller |
||
16 | { |
||
17 | 2 | public function permissionSettings() |
|
18 | { |
||
19 | 2 | return view('admin.userPermissions', [ |
|
20 | 2 | 'roles' => (new GetRoles)->getRoleList(false), |
|
21 | 2 | 'perms' => (new GetPermissions)->getAllPermissions(), |
|
22 | ]); |
||
23 | } |
||
24 | |||
25 | 2 | public function submitRole(NewRoleRequest $request) |
|
30 | } |
||
31 | } |
||
32 |