feat: allow global settings as fallback when user has not defined any

This commit is contained in:
2024-08-09 21:36:02 +02:00
parent 2d10b81650
commit 6b53ccb88e
10 changed files with 193 additions and 35 deletions

View File

@ -4,5 +4,7 @@ return [
'routes' => [
['name' => 'settings#get', 'url' => '/settings', 'verb' => 'GET'],
['name' => 'settings#set', 'url' => '/settings', 'verb' => 'POST'],
['name' => 'settings#getGlobal', 'url' => '/settings/global', 'verb' => 'GET'],
['name' => 'settings#setGlobal', 'url' => '/settings/global', 'verb' => 'POST'],
]
];