{{dd(request()->route()->parameters)}}
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">
//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
//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
Route::get('/posts/{post}/comments/{comment}', function ($postId, $commentId) {
//
});
Route::get('/user/{id}/profile', function ($id) {
//
})->name('profile');
$url = route('profile', ['id' => 1]);