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