Blog
We’re glad you’re here!
Breathe deeply, grab your preferred coffee mug, and look through our blog.
LARAVEL APIRESOURCE NAME NESTED ROUTE PLACEHOLDER
Ha Nguyen
January 22, 2024
When using an ApiResource that has more than one placeholder it may seem tricky to figure out how to name the placeholder used.
For example, take this route:
Route::apiResource(‘users.tenant’, UsersController::class);
Read more on: https://dcblog.dev/laravel-apiresouce-name-nested-route-placeholder
Category
WRITE A COMMENT