F
Filament15mo ago
rabol

Link in admin panel

Hi In V2, the link in the upper left corner of the panel was going to the frontend, but now it goes to /admin Is there a way to get the 'old' function back ?
Solution:
->homeUrl('/');
->homeUrl('/');
works...
Jump to solution
3 Replies
GDG
GDG15mo ago
You can set ->homeUrl() in your panel provider.
rabol
rabolOP15mo ago
tried this:
->homeUrl(route('home'));
->homeUrl(route('home'));
but it throws an error on any named route:
Route [home] not defined.
Route [home] not defined.
routes are most likely not 'loaded' in the provider
Solution
rabol
rabol15mo ago
->homeUrl('/');
->homeUrl('/');
works
Want results from more Discord servers?
Add your server