Nombre de ruta actual de Laravel
$route = Route::current();
$name = Route::currentRouteName();
$action = Route::currentRouteAction();
Cooperative Crab
$route = Route::current();
$name = Route::currentRouteName();
$action = Route::currentRouteAction();
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]);
Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Route::get('/novanoticia', ['as' => 'route_name', 'uses' => 'HomeController@getNovaNoticia']);