Route [participants.edit] not defined.
Hi i already have Resourcepage Participants and pages edit. Already registered getPages edit to. but why it is still show
Route [participants.edit] not defined.
Thank you
19 Replies
Share a snippet of your code and do try
php artisan optimize:clear
me working ... redirect()->route('filament.admin.resources.box-gpais-records.edit');
@thyk123
It should look like this, don't forget to add the {record}
this is my code
@Dushmanta already try but still not working
route are listed in
try
swap with route()
like this?
i still get error like this
ohh.. try
let me know if its working..
Your route name (from screenshot) is
filament.admin.resources.participants.edit
but you provide participants.edit
only.. you can see the difference here@Rolland thank yoou very muchh it's work, so gratefull you help me with this error
but can i ask more question? the $record is show id right, how about get another column value instead id?
you mean slug?
ohhh, thank you for explanation about that
this you can set it up in your model
@Rolland yes but i want to still id as default and can get slug , can i do that?
i dont follow. can you give me an example?
oh im sorry. i mean i want to make an action url to another resource page like this:
so this is inside participant resource that have action link to RootInformation, but i want to get from another column called rootinformationId inside participant model so i can get url that had the rootinformationid instead the participant id
Solution
try
@Rolland thank you very much! it's work!.
I hope your day is great!
no problem. glad that i could be any help..