mirror of
https://github.com/tiennm99/coolify.git
synced 2026-05-13 10:58:21 +00:00
refactor(redirect): replace redirect calls with redirectRoute helper for consistency
This commit is contained in:
@@ -116,7 +116,7 @@ class Create extends Component
|
||||
$this->storage->testConnection();
|
||||
$this->storage->save();
|
||||
|
||||
return redirect()->route('storage.show', $this->storage->uuid);
|
||||
return redirectRoute($this, 'storage.show', [$this->storage->uuid]);
|
||||
} catch (\Throwable $e) {
|
||||
$this->dispatch('error', 'Failed to create storage.', $e->getMessage());
|
||||
// return handleError($e, $this);
|
||||
|
||||
Reference in New Issue
Block a user