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