Support the ongoing development of Laravel.io →
Requests Database Eloquent
Last updated 1 year ago.
0

Edit your route to accept a second argument.

Wrong example: edit/{id}

Correct example: edit/{id}/{week_id}

Then, whenever you create URLs, just pass it as the second argument.

Last updated 8 years ago.
0

Thanks again @thomastkim, you are wonderful and yet helpful.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.