Comments on Middleware/Role

This commit is contained in:
Deon George 2021-12-23 09:19:40 +11:00
parent d0a56de07e
commit 8f5293662e

View File

@ -5,6 +5,9 @@ namespace App\Http\Middleware;
use Illuminate\Support\Facades\Auth;
use Closure;
/**
* Enable us to use the role during middleware authorisation
*/
class Role
{
public function handle($request, Closure $next, $role)