2025-06-26 14:09:25 +07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use CodeIgniter\Router\RouteCollection;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var RouteCollection $routes
|
|
|
|
|
*/
|
|
|
|
|
//$routes->get('/', 'Home::index');
|
|
|
|
|
|
|
|
|
|
$routes->post('/auth/login/', 'Auth::login');
|
|
|
|
|
$routes->post('/auth/change_pass/', 'Auth::change_pass');
|
|
|
|
|
$routes->post('/auth/register/', 'Auth::register');
|
2025-07-02 16:10:37 +07:00
|
|
|
|
|
|
|
|
$routes->get('/patient', 'Patient::index');
|
|
|
|
|
$routes->post('/patient', 'Patient::create');
|
|
|
|
|
$routes->patch('/patient/(:num)', 'Patient::update/$1');
|