Fixed config save with the new config url

This commit is contained in:
Matias Griese
2019-08-28 08:59:58 +03:00
parent 58f8871450
commit ff3af2c112
2 changed files with 5 additions and 2 deletions

View File

@@ -671,10 +671,13 @@ class AdminPlugin extends Plugin
{
$type = $e['type'] ?? null;
switch ($type) {
case 'config':
$e['type'] = $this->admin->authorize(['admin.configuration_system','admin.super']) ? 'config/system' : 'config/site';
break;
case 'tools/scheduler':
$e['type'] = 'config/scheduler';
break;
case 'tools':
case 'tools':
case 'tools/backups':
$e['type'] = 'config/backups';
break;