laravel route prefix with parameter code example
Example: prefix laravel route
Route::get('posts/{post}/comments/{comment}', function ($postId, $commentId) {
//
});
Route::get('posts/{post}/comments/{comment}', function ($postId, $commentId) {
//
});