refactor(redirect): replace redirect calls with redirectRoute helper for consistency

This commit is contained in:
Andras Bacsai committed 2025-12-26 13:29:59 +01:00
1 parent 5d98847e49
commit ef1abe17b8
20 files changed
+25 -25

No files matched your search

+2 -2
View File
@@ -567,10 +567,10 @@ class ByHetzner extends Component
]);
refreshSession();
return $this->redirect(route('server.show', $server->uuid));
return redirectRoute($this, 'server.show', [$server->uuid]);
}
return redirect()->route('server.show', $server->uuid);
return redirectRoute($this, 'server.show', [$server->uuid]);
} catch (\Throwable $e) {
return handleError($e, $this);
}