@extends('dashboard.layouts.master') @section('title', 'Permissions') @section('content')

All Roles/Permissions

{{-- @can('create-' . $permission) --}}   Add Role/Permission {{-- @endcan --}}
@foreach ($roles as $role) @endforeach
S.N. Role Permissions Count Action
{{ $role->id }} {{ucfirst( $role->name) }} {{ count($role->permissions) }} View Edit
@csrf @method('DELETE')
{{ $roles->links() }}
@endsection