mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-30 06:20:26 +00:00
refactor(redirect): replace redirect calls with redirectRoute helper for consistency
This commit is contained in:
@@ -46,7 +46,7 @@ class Delete extends Component
|
||||
$this->server->team_id
|
||||
);
|
||||
|
||||
return redirect()->route('server.index');
|
||||
return redirectRoute($this, 'server.index');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user