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
jaocero8mo ago
you can try I think ->loginRouteSlug('home')
OscarMo
OscarMo8mo ago
where can i do it?
jaocero
jaocero8mo ago
in your AdminPanelProvider or your provider whatever name it is
OscarMo
OscarMo8mo ago
I added it here
No description
OscarMo
OscarMo8mo ago
but the result is like this
No description
OscarMo
OscarMo8mo ago
I mean, I will move the admin route pannel here
No description
Vp
Vp8mo ago
Put this in web.php
Route::get('/', function () {
return redirect('admin');
})->name('login');
Route::get('/', function () {
return redirect('admin');
})->name('login');
OscarMo
OscarMo8mo ago
solved, thanks
Want results from more Discord servers?
Add your server