@extends('layouts.template') @section('content') Role Management @can('role-create') @endcan No Name Action @foreach ($roles as $key => $role) {{ ++$i }} {{ $role->name }} Show @can('role-edit') Edit @endcan @can('role-delete') @csrf @method('DELETE') Delete @endcan @endforeach
Tutorial by ItSolutionStuff.com