how change route filament v3

Hello, good morning, how do I change the filamant v3 route? I want to change /admin/login to home. Thank You
8 Replies
jaocero
jaocero9mo ago
you can try I think ->loginRouteSlug('home')
OscarMo
OscarMoOP9mo ago
where can i do it?
jaocero
jaocero9mo ago
in your AdminPanelProvider or your provider whatever name it is
OscarMo
OscarMoOP9mo ago
I added it here
No description
OscarMo
OscarMoOP9mo ago
but the result is like this
No description
OscarMo
OscarMoOP9mo ago
I mean, I will move the admin route pannel here
No description
Vp
Vp9mo ago
Put this in web.php
Route::get('/', function () {
return redirect('admin');
})->name('login');
Route::get('/', function () {
return redirect('admin');
})->name('login');
OscarMo
OscarMoOP9mo ago
solved, thanks
Want results from more Discord servers?
Add your server