@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Http\Controllers; |
4 | 4 | |
5 | -use Illuminate\Http\Request; |
|
6 | - |
|
7 | -use App\Http\Requests; |
|
8 | 5 | use App\Customer as Customer; |
9 | 6 | |
10 | 7 | class CustomersController extends Controller |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function boot() |
16 | 16 | { |
17 | - Bouncer::seeder(function () { |
|
17 | + Bouncer::seeder(function() { |
|
18 | 18 | Bouncer::allow('available')->to(''); |
19 | 19 | Bouncer::allow('unavailable')->to(''); |
20 | 20 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function handle($request, Closure $next, $role) |
18 | 18 | { |
19 | - if (! auth()->user()->is($role)) { |
|
19 | + if (!auth()->user()->is($role)) { |
|
20 | 20 | return redirect()->back(302); |
21 | 21 | } |
22 | 22 |