fix: routing, switch back to old one

This commit is contained in:
Andras Bacsai committed 2023-12-27 16:45:01 +01:00
1 parent 8c20c833ba
commit f03aa57758
70 files changed
+961 -322

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ class Show extends Component
try {
$this->server = Server::ownedByCurrentTeam()->whereUuid(request()->server_uuid)->first();
if (is_null($this->server)) {
return $this->redirectRoute('server.all', navigate: true);
return redirect()->route('server.all');
}
} catch (\Throwable $e) {
return handleError($e, $this);