Answers for "how to get the route path in laravel"

PHP
0

laravel route Accessing The Current Route

$route = Route::current();

$name = Route::currentRouteName();

$action = Route::currentRouteAction();
Posted by: Guest on July-24-2021
-1

set route name laravel

Route::get('/novanoticia', 'HomeController@getNovaNoticia')->name('route_name');
Posted by: Guest on October-06-2020

Code answers related to "how to get the route path in laravel"

Browse Popular Code Answers by Language