Skip to content
Discussion options

You must be logged in to vote

To use the auto scoping feature you need to replace the resource route parameter.

Route::apiResource('instances/{instance:id}/projects', 'ProjectController')->parameter('projects', 'project:id');

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@simonhir
Comment options

@jmarcher
Comment options

@simonhir
Comment options

@simonhir
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by simonhir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants