Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 50e8f1e

Browse files
committed
use facade in middleware.
1 parent 5132b10 commit 50e8f1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Http/Middleware/CheckPermissionsMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\Http\Middleware;
44

5-
use Auth;
65
use Closure;
6+
use Illuminate\Support\Facades\Auth;
77
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
88

99
class CheckPermissionsMiddleware

resources/views/home.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
Authentication for your API
2424
</div>
2525
<div class="panel-body">
26-
Here the Auth docs
26+
Here your Auth Docs
2727
</div>
2828
</div>
2929
</div>

0 commit comments

Comments
 (0)