@@ -45,10 +45,10 @@ |
||
| 45 | 45 | { |
| 46 | 46 | $this->registerPolicies(); |
| 47 | 47 | |
| 48 | - Gate::define('index-dashboard', function ($user) { |
|
| 48 | + Gate::define('index-dashboard', function($user) { |
|
| 49 | 49 | return $user->isUser(); |
| 50 | 50 | }); |
| 51 | - Gate::define('index-activitylog', function ($user) { |
|
| 51 | + Gate::define('index-activitylog', function($user) { |
|
| 52 | 52 | return $user->isManager(); |
| 53 | 53 | }); |
| 54 | 54 | } |