mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-18 22:13:09 +00:00
refactor(redirect): replace redirect calls with redirectRoute helper for consistency
This commit is contained in:
1 parent
5d98847e49
commit
ef1abe17b8
20 files changed
+25
-25
No files matched your search
@@ -37,7 +37,7 @@ class Create extends Component
|
||||
auth()->user()->teams()->attach($team, ['role' => 'admin']);
|
||||
refreshSession($team);
|
||||
|
||||
return redirect()->route('team.index');
|
||||
return redirectRoute($this, 'team.index');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user