2024-11-08 13:50:33 +07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use CodeIgniter\Router\RouteCollection;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var RouteCollection $routes
|
|
|
|
|
*/
|
2024-11-12 15:33:56 +07:00
|
|
|
$routes->get('/', 'Dashboard::index');
|
|
|
|
|
$routes->get('/dashboard/viewAccess/(:any)', 'Dashboard::viewAccess/$1');
|
2024-11-12 16:45:01 +07:00
|
|
|
// Users
|
|
|
|
|
$routes->get('/users/', 'Users::index');
|
|
|
|
|
// DICT_TESTS
|
|
|
|
|
$routes->get('/dict_tests/', 'Dict_tests::index');
|
2024-11-08 13:50:33 +07:00
|
|
|
// Auth
|
|
|
|
|
$routes->get('/auth/logout', 'Auth::logout');
|
|
|
|
|
$routes->get('/auth/loginTD', 'Auth::loginTD');
|
|
|
|
|
$routes->match(['get','post'], '/auth/login', 'Auth::login');
|
|
|
|
|
$routes->match(['get','post'], '/auth/setpass/(:any)', 'Auth::setpass/$1');
|