@extends('layouts.app') @section('content')

List Permissions

@can('create permissions') New Permission @endcan
@can('access permissions') @foreach ($permissions as $permission) @endforeach @endcan
S.N Name Action
{{ $permission->id }} {{ $permission->name }} @can('edit permissions') @endcan @can('delete permissions')
@csrf @method('delete')
@endcan
@endsection