Fix: Add graceful handling for unconfigured state, fix 500 error on unconfigured plugin

This commit is contained in:
WLTBAgent
2026-02-16 16:15:49 +00:00
parent 30d14cdb7d
commit a8bf6bcb6c
5 changed files with 386 additions and 287 deletions

View File

@@ -12,16 +12,22 @@ return [
'routes' => [
// Admin routes
[
'name' => 'admin#index',
'name' => 'Admin\PageController#index',
'url' => '/',
'verb' => 'GET',
'requirements' => [],
],
[
'name' => 'admin#load',
'url' => '/load',
'name' => 'Admin\AdminController#load',
'url' => '/admin/load',
'verb' => 'GET',
'requirements' => [],
],
[
'name' => 'Admin\AdminController#save',
'url' => '/admin/save',
'verb' => 'POST',
'requirements' => [],
],
],
];