ネストされたコントローラーを使用して、次のルート構造を実現しました
root/areas/eventID/titles/titlesID/sections/sectionsID
resourceIDは前のコントローラーのスラッグで、、areas、titlesおよびsectionsはコントローラーです。
URL 構造を にしたいのですが、名前付きルートを指定する必要があるためroot/eventID/titlesID/sectionsID、ファイルでこれを実現する方法がわかりません。routes.phpこれまでのところ、ネストされたコントローラーを次のように設定しました。
Route::resource('areas','AreasController');
Route::resource('areas.titles','TitlesController');
Route::resource('areas.titles.sections','SectionsController');
何か案は?