module set and unset, dependencies

This commit is contained in:
stasbilay02 committed 2024-10-11 15:44:15 +03:00
1 parent d9c4cecd48
commit 5b9386f970
6 files changed
+92 -5

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ App::$collector->group(["prefix" => "admin"], function (RouteCollector $router){
App::$collector->get('/', [\kernel\controllers\ModuleController::class, 'actionIndex']);
App::$collector->get('/page/{page_number}', [\kernel\controllers\ModuleController::class, 'actionIndex']);
App::$collector->get('/activate', [\kernel\controllers\ModuleController::class, 'actionActivate']);
App::$collector->get('/deactivate', [\kernel\controllers\ModuleController::class, 'actionDeactivate']);
App::$collector->get('/view', [\kernel\controllers\ModuleController::class, 'actionView']);
});
});