@@ -29,11 +29,11 @@ |
||
29 | 29 | { |
30 | 30 | $this->registerPolicies(); |
31 | 31 | |
32 | - Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () { |
|
32 | + Route::group([ 'prefix' => 'v1', 'middleware' => 'api' ], function() { |
|
33 | 33 | Passport::routes(); |
34 | 34 | }); |
35 | 35 | |
36 | - Gate::define('users.view', function (User $user, $id) { |
|
36 | + Gate::define('users.view', function(User $user, $id) { |
|
37 | 37 | return $user->id == $id; |
38 | 38 | }); |
39 | 39 | } |