Routing & dynamic tab loading

This commit is contained in:
cgfhtw
2023-10-24 15:52:28 +02:00
parent bae7096ca1
commit e34bacb443
4 changed files with 27 additions and 19 deletions
-2
View File
@@ -61,8 +61,6 @@ $route['api/v1/organisation/[O|o]rganisationseinheit/(:any)'] = 'api/v1/organisa
$route['api/v1/ressource/[B|b]etriebsmittelperson/(:any)'] = 'api/v1/ressource/betriebsmittelperson2/$1';
$route['api/v1/system/[S|s]prache/(:any)'] = 'api/v1/system/sprache2/$1';
$route['studentenverwaltung/(:any)/(:any)'] = 'Studentenverwaltung/index';
// load routes from extensions
$subdir = 'application/config/extensions';
$dirlist = scandir($subdir);
@@ -12,7 +12,7 @@ class Studentenverwaltung extends FHC_Controller
/**
* @return void
*/
public function index()
public function _remap()
{
$this->load->library('AuthLib');
$this->load->library('PermissionLib');