10. Đặt tên các tuyến tài nguyên (Naming resource routes) (Chưa hiểu)
https://viblo.asia/p/tap-14-controller-laravel-Ljy5VXOkZra
3. Đặt tên các tuyến tài nguyên (Naming resource routes)
Route::resource('photos', 'PhotoController')->names([
'create' => 'photos.build' // 'name_method' => 'new_name_resource_route'
]);Previous9. Bạn cũng có thể đăng ký nhiều API resource route cùng lúc với cú phápNext11. Đặt tên tham số tuyến tài nguyên (Naming resource route parameters)
Last updated