wip livewire migration

This commit is contained in:
Andras Bacsai committed 2023-12-07 22:56:55 +01:00
1 parent 718603e37e
commit f934dfef33
64 files changed
+164 -155

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ class Create extends Component
]);
auth()->user()->teams()->attach($team, ['role' => 'admin']);
refreshSession();
return redirect()->route('team.index');
return $this->redirectRoute('team.index', navigate: true);
} catch (\Throwable $e) {
return handleError($e, $this);
}