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

This commit is contained in:
Andras Bacsai
2025-12-26 13:29:53 +01:00
parent 5d98847e49
commit ef1abe17b8
20 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class ByIp extends Component
$server->settings->is_build_server = $this->is_build_server;
$server->settings->save();
return redirect()->route('server.show', $server->uuid);
return redirectRoute($this, 'server.show', [$server->uuid]);
} catch (\Throwable $e) {
return handleError($e, $this);
}