v1.4.8c Add new icons, added a new tab in the navbar, added manifest to git

This commit is contained in:
2020-10-23 08:43:42 +02:00
parent 0d84fcd1ca
commit 077a6c57ea
7 changed files with 104 additions and 12 deletions
@@ -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]);
}