- Moved all V2 controllers (Lab, Requests, Samples, Users) to App\Controllers - Removed deprecated role controllers (Admin, Doctor, Analyst, CustomerService) - Simplified routes by removing /v2 prefix - Added AGENTS.md with project conventions and TODO.md with task tracking - Updated README.md with RBAC documentation - Fixed hardcoded dates, status color mappings, and duplicate database calls
22 lines
342 B
PHP
22 lines
342 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
use App\Controllers\BaseController;
|
|
|
|
class Admin extends BaseController {
|
|
|
|
public function __construct() {
|
|
helper(['url', 'form', 'text']);
|
|
}
|
|
|
|
public function index() {
|
|
return view('admin/index');
|
|
}
|
|
|
|
public function users() {
|
|
return view('admin/users');
|
|
}
|
|
|
|
}
|