Owain
Owain
FFilament
Created by Owain on 7/18/2024 in #❓┊help
Globally Accessing Current Resource
Hey. Is there a way I can access the current page/resource from inside a middleware? I essentially want to be able to do something like Filament\Facades\Filament::getCurrentResource() and have it return the Filament resource for the page I'm accessing, but can't find a method which achieves this. Thanks in advance.
3 replies