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