refactor routes

This commit is contained in:
Andras Bacsai committed 2024-01-07 16:23:41 +01:00
1 parent bf44b4b949
commit 4c3907c296
135 files changed
+1881 -1409

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class FortifyServiceProvider extends ServiceProvider
{
// First user (root) will be redirected to /settings instead of / on registration.
if ($request->user()->currentTeam->id === 0) {
return redirect()->route('settings.configuration');
return redirect()->route('settings.index');
}
return redirect(RouteServiceProvider::HOME);
}