add('/', 'HomeController@index'); $router->add('/home', 'HomeController@home'); $router->add('/dashboard', 'HomeController@dashboard', ['RequireAuth']); // auth routes $router->add('/auth/signin', 'AuthController@signin'); $router->add('/auth/signup', 'AuthController@signup'); $router->add('/auth/logout', 'AuthController@logout'); $router->dispatch();