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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.