Answers for "laravel 2 routes with same action"

PHP
2

multiple routes same controller laravel

$router->get('/{home?}', 'SiteController@home')
       ->where('home', '(home|another_home_route)')
       ->name('home');
Posted by: Guest on October-05-2020

Code answers related to "laravel 2 routes with same action"

Browse Popular Code Answers by Language