daemon-idc init
This commit is contained in:
parent
f201d913cf
commit
ac1d3c554c
@ -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]
|
//2. Config/Filters.php -> $aliases = ['authFilter' => AuthFilter::class]
|
||||||
$routes->group('cli', ['namespace' => 'App\Controllers\CLI'], function ($routes) {
|
$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->group('auth', ['namespace' => 'App\Controllers\Auth'], function ($routes) {
|
||||||
$routes->get('login', 'LocalController::login_form');
|
$routes->get('login', 'LocalController::login_form');
|
||||||
$routes->post('login', 'LocalController::login');
|
$routes->post('login', 'LocalController::login');
|
||||||
@ -75,5 +80,4 @@ $routes->group('', ['namespace' => 'App\Controllers\Ajax'], function ($routes) {
|
|||||||
$routes->post('create', 'InquiryController::create');
|
$routes->post('create', 'InquiryController::create');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
//choi.jh
|
//choi.jh
|
||||||
Loading…
Reference in New Issue
Block a user