pbmc-cmod/app/Config/Routes.php

18 lines
555 B
PHP
Raw Normal View History

2024-11-08 13:50:33 +07:00
<?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$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');