Getting current url in Filament
Why isn't {{ url()->current() }} in Filament views showing subpage urls in spa mode? I need to get the current url but
{{ url()->current() }}
will show http://example.com/admin when in Filament.
It show always just the root url and not the subpages.
In frontend that is using full component Livewire navigation the same code it will show:
http://example.com/contact or http://example.com/articles/45 etc.
How to get the current Filament's url I am on? Is there any global variable with this info across the whole Filament panel so I don't even need to be dependent of url()->current()?
{{ url()->current() }}
will show http://example.com/admin when in Filament.
It show always just the root url and not the subpages.
In frontend that is using full component Livewire navigation the same code it will show:
http://example.com/contact or http://example.com/articles/45 etc.
How to get the current Filament's url I am on? Is there any global variable with this info across the whole Filament panel so I don't even need to be dependent of url()->current()?