diff --git a/app/Config/Routes.php b/app/Config/Routes.php index e9bc889..32f3869 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -16,6 +16,11 @@ $routes->addPlaceholder('uuid', '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4} //2. Config/Filters.php -> $aliases = ['authFilter' => AuthFilter::class] $routes->group('cli', ['namespace' => 'App\Controllers\CLI'], function ($routes) { }); + +$routes->group('', ['namespace' => 'App\Controllers\Front'], function ($routes) { + $routes->get('/', 'WelcomeController::index'); +}); + $routes->group('auth', ['namespace' => 'App\Controllers\Auth'], function ($routes) { $routes->get('login', 'LocalController::login_form'); $routes->post('login', 'LocalController::login'); @@ -75,5 +80,4 @@ $routes->group('', ['namespace' => 'App\Controllers\Ajax'], function ($routes) { $routes->post('create', 'InquiryController::create'); }); }); - //choi.jh \ No newline at end of file