Admin : Error 404 on my post when scheduled
ABCrafty opened this issue · 2 comments
Hello,
I'm using your awesome library to schedule posts on my blog, however I'm stuck on the admin side. I have scheduled posts and unscheduled posts (published or drafted), but when I'm trying to edit a scheduled post it returns 404, which is the the way your package works.
Is there a way to bypass your usual Trait behaviour on the route side ? Maybe say to this route specifically to ignore the schedule trait, because I can't get it done on controller side.
I'm open to suggestions to try to figure this one out.
Have a nice day.
Hi @ABCrafty ,
The package's documentation mentions 3 ways to bypass the trait's behaviour.
Below are the links in case you missed it.
https://github.com/neelkanthk/laravel-schedulable#3-retrieving-only-scheduled-models-without-normal
I hope one of them should fit in your use case.
Thanks
Kindly close the issue if the above comment solves it.