v1.4.8c Add new icons, added a new tab in the navbar, added manifest to git
This commit is contained in:
@@ -29,7 +29,8 @@ class RolesController extends Controller
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
$roles = Role::query()->where("id", "!=", 1)->where("id", "!=", 2)->get();
|
||||
//$roles = Role::query()->where("id", "!=", 1)->where("id", "!=", 2)->get(); Add this bitch if the users isn't allowed to se the rolls with id 1 and 2
|
||||
$roles = Role::query()->get();
|
||||
|
||||
return Response::detect("roles.index", [ "roles" => $roles]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user