create route not working(404) in all resources. HELP!
whenever i try to go to create route on any resource I get a 404 error,
debugbar shows an exception
it worked previously the only change i made recently was to add view to all resources
8 Replies
Why is it trying to resolve record in create? Did you extend your Create page from
CreateRecord
?no
query error
Please share your Create page code
Oh wait I think I know what's wrong, it's hitting the view route instead of create
@augadh in your Resource on
getPages
method, make sure your create route is above the view route@z3d0x Okay that fixed it
weird issue though
Thanks a lot
Not weird at all. The order matters. The view route has a
$record
param and is trying to load record with ID create
then.