First Commit
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Kernel\Application;
|
||||
|
||||
return function (Application $app) {
|
||||
$app->addRoute('GET', '/admin/systemconfig', [\Modules\SystemConfig\Controllers\SystemConfigController::class, 'index']);
|
||||
$app->addRoute('POST', '/admin/systemconfig/update', [\Modules\SystemConfig\Controllers\SystemConfigController::class, 'update']);
|
||||
|
||||
// Theme Management
|
||||
$app->addRoute('GET', '/admin/themes', [\Modules\SystemConfig\Controllers\ThemeController::class, 'index']);
|
||||
$app->addRoute('POST', '/admin/themes/activate/{theme}', [\Modules\SystemConfig\Controllers\ThemeController::class, 'activate']);
|
||||
|
||||
// Theme Customizer
|
||||
$app->addRoute('GET', '/admin/themes/{theme}/customize', [\Modules\SystemConfig\Controllers\CustomizerController::class, 'index']);
|
||||
$app->addRoute('POST', '/admin/themes/{theme}/customize/save', [\Modules\SystemConfig\Controllers\CustomizerController::class, 'save']);
|
||||
};
|
||||
Reference in New Issue
Block a user