Front end routing #682
-
DescriptionReading the docs, I see how to set up a route for a model using Runway, but what if I want to have multiple routes, like a resource controller in regular Laravel where you have an index, create, show, edit and delete route for a model? Environmentn/a |
Beta Was this translation helpful? Give feedback.
Answered by
duncanmcclean
May 6, 2025
Replies: 1 comment 1 reply
-
|
If you need multiple routes, you'd need to configure them yourself like you would in a normal Laravel app, and disable frontend routing in Runway. If you need an "augmented" model in your templates, you can call |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fpolli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you need multiple routes, you'd need to configure them yourself like you would in a normal Laravel app, and disable frontend routing in Runway.
If you need an "augmented" model in your templates, you can call
$model->toAugmentedArray().