mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
migrating tests (Application, Console and Cronjob)
This commit is contained in:
@ -32,9 +32,9 @@ public static function getNavigationItemActiveRoutePattern(): string
|
||||
return static::getRouteName().'*';
|
||||
}
|
||||
|
||||
public static function canAccess(): bool
|
||||
public function mount(): void
|
||||
{
|
||||
return auth()->user()?->can('viewAny', Server::class) ?? false;
|
||||
$this->authorize('viewAny', Server::class);
|
||||
}
|
||||
|
||||
public function getWidgets(): array
|
||||
|
Reference in New Issue
Block a user