mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +02:00
feat(settings): add general config for instance (site name, description and icon)
This commit is contained in:
parent
193b373bc9
commit
5c56f3e6f0
41 changed files with 533 additions and 52 deletions
|
|
@ -18,6 +18,21 @@ $routes->group(
|
|||
'as' => 'admin',
|
||||
]);
|
||||
|
||||
$routes->group('settings', function ($routes): void {
|
||||
$routes->get('/', 'SettingsController', [
|
||||
'as' => 'settings-general',
|
||||
'filter' => 'permission:settings-manage',
|
||||
]);
|
||||
$routes->post('instance', 'SettingsController::attemptInstanceEdit', [
|
||||
'as' => 'settings-instance',
|
||||
'filter' => 'permission:settings-manage',
|
||||
]);
|
||||
$routes->get('instance-delete-icon', 'SettingsController::deleteIcon', [
|
||||
'as' => 'settings-instance-delete-icon',
|
||||
'filter' => 'permission:settings-manage',
|
||||
]);
|
||||
});
|
||||
|
||||
$routes->group('persons', function ($routes): void {
|
||||
$routes->get('/', 'PersonController', [
|
||||
'as' => 'person-list',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue