Comments on Middleware/Role
This commit is contained in:
parent
d0a56de07e
commit
8f5293662e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user