laravel get route param code example
Example 1: laravel route param blade
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">
Example 2: laravel route match
Route::match(['get', 'post'], '/', function () {
//
});
Route::any('/', function () {
//
});
Example 3: set route name laravel
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');