Route not defined.
Route [filament.admin.resources.registration-requests.index] not defined.
15 Replies
you can use
don't forget namespace
where writing this
where did you write ?
You did not provide any info. So what is wrong? If the message just comes out of nowhere it's very likely a cache issue
IVE SOLVED IT BY MANNUALLY ADING THE ROUTES IN THE WEB.PHP LIKE THIS :
which is not best practice
You shouldn't do this. If the routes don't appear there's probably some issue with caching
i tried clearing everything
https://discord.com/channels/883083792112300104/1261005711953891328/1261005711953891328
this guy had the same error before
where did you write this getPages method? didn't understand why did you write all pages separately? shouldn't they be like this:
this is default. are you doing something non-default?
i wrote this in app/Filament/Resources/RegistrationRequestResource.php
ok, please try this
its exactly what i did
no you didn't
please read carefully
did you spot the difference?
mine are customized that why you see a naming difference
could you send a demo repo?
Yeah, jigsaw is right.
RegistrationRequestResource::class, 'create'
this looks more than a controller, than the typical Livewire pages we have
Quite weird that this works.
But this looks okay to me