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