xxxxxxxxxx
//Swap out PARAMETER_HERE with the specific parameter you need.
\Route::current()->parameter('PARAMETER_HERE')
//A common use case for this would be to output specific content based on conditional logic.
@if( \Route::current()->parameter('account') === 'edit' )
//Edit Account Form Here
@endif
xxxxxxxxxx
//Swap out PARAMETER_HERE with the specific parameter you need.
\Route::current()->parameter('PARAMETER_HERE')
//A common use case for this would be to output specific content based on conditional logic.
@if( \Route::current()->parameter('account') === 'edit' )
//Edit Account Form Here
@endif
xxxxxxxxxx
Route::get('/menu/{category}/{product}/{item}', ['as' => 'named.route' , 'uses' => 'MenuController@listItem']);
// to get the actual linke
route('named.route', ['category' => $category->id, 'product' => $product->id, 'item' => $item->id]);
xxxxxxxxxx
Route::get('/posts/{post}/comments/{comment}', function ($postId, $commentId) {
//
});