Answers for "add multiple route in one controllers laravel"

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 "add multiple route in one controllers laravel"

Browse Popular Code Answers by Language