mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:04:23 +02:00
Move admin/tos to src/Module
- Add Module\Admin\Tos class - Add route for admin/tos - Add admin aside menu entry - Remove admin_page_tos and admin_page_tos_post from mod/admin.php
This commit is contained in:
parent
35d222f95d
commit
488e425416
4 changed files with 58 additions and 57 deletions
|
@ -121,6 +121,8 @@ class Router
|
|||
$this->routeCollector->addGroup('/admin', function (RouteCollector $collector) {
|
||||
$collector->addRoute(['GET'] , '[/]' , Module\Admin\Summary::class);
|
||||
$collector->addRoute(['GET'] , '/federation' , Module\Admin\Federation::class);
|
||||
|
||||
$collector->addRoute(['GET', 'POST'], '/tos' , Module\Admin\Tos::class);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue