F
Filament11mo ago
OscarMo

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

Did you find this page helpful?