9. Bạn cũng có thể đăng ký nhiều API resource route cùng lúc với cú pháp
https://viblo.asia/p/tap-14-controller-laravel-Ljy5VXOkZra
Bạn cũng có thể đăng ký nhiều API resource route cùng lúc với cú pháp:
Route::apiResources([
'photos' => 'PhotoController',
'posts' => 'PostController'
]);
Previous8. API resouce routeNext10. Đặt tên các tuyến tài nguyên (Naming resource routes) (Chưa hiểu)
Last updated
Was this helpful?