Dennis Koch
Route not found for Filament Resource Page
it's really a wrapper on route() methodYeah, makes sense 🙈 Hm, it's weird. I think I have seen the issue from times to times but it always "magically appears and disappears" again. Can it be some OpCaching? As it works on the CLI but not the browser? Can you try dumping
Route::getRoutes()
on any route?33 replies
Moved resources to Admin folder and auto discovery is broken
if I run artisan make:filament-resource SomeResource and select the admin panel the generated file’s namespace end in a slash namespace App\Filament\Admin\Resources;At least that issue seems to be related to the trailing slash in
for: 'App\\Filament\\Admin\\Resources\\')
in discoverResources:
5 replies
canEdit() (etc) on Filament resources
I don't think we have that documented. But you can probably just have a look at the definition of those methods.
From testing, it seems if I have something defined here it over-rides the laravel policies for that same model. It also seems to only impact the model within the Filament panel, which makes sense.Seems about right. The default method should probably just call the policy.
6 replies