Answers for "multiple routes same controller 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 "multiple routes same controller laravel"

Browse Popular Code Answers by Language