feat: view horizon
This commit is contained in:
parent
f5a3e79c8a
commit
d706dd587a
|
|
@ -28,8 +28,7 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider
|
||||||
protected function gate(): void
|
protected function gate(): void
|
||||||
{
|
{
|
||||||
Gate::define('viewHorizon', function ($user = null) {
|
Gate::define('viewHorizon', function ($user = null) {
|
||||||
|
return true;
|
||||||
return false;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue