1Sometimes you may need to define routes to a nested resource.
2For example, a photo resource may have multiple comments that may be
3attached to the photo. To nest the resource controllers,
4you may use "dot" notation in your route declaration:
5
6Route::resource('photos.comments', PhotoCommentController::class);
7//return Route :
8/photos/{photo}/comments/{comment}