]> git.mxchange.org Git - friendica.git/blobdiff - static/routes.config.php
DI is now removed
[friendica.git] / static / routes.config.php
index edfd69ea20e9388c1f58e82f62c9846c08a89a14..55b40bcf39930dac3fccadef9ab076c280b69ac5 100644 (file)
@@ -391,6 +391,7 @@ return [
                '/event/{mode:edit|copy}/{id:\d+}'              => [Module\Calendar\Event\Form::class, [R::GET         ]],
        ],
 
+       '/channel[/{content}]'   => [Module\Conversation\Channel::class,   [R::GET]],
        '/community[/{content}]' => [Module\Conversation\Community::class, [R::GET]],
 
        '/compose[/{type}]'    => [Module\Item\Compose::class, [R::GET, R::POST]],
@@ -640,7 +641,8 @@ return [
 
        '/settings' => [
                '/server' => [
-                       '/{gsid:\d+}/{action}' => [Module\Settings\Server\Action::class, [        R::POST]],
+                       '[/]'                  => [Module\Settings\Server\Index::class,  [R::GET, R::POST]],
+                       '/{gsid:\d+}/{action}' => [Module\Settings\Server\Action::class, [R::GET, R::POST]],
                ],
                '[/]'         => [Module\Settings\Account::class,               [R::GET, R::POST]],
                '/account' => [
@@ -685,6 +687,7 @@ return [
        '/toggle_mobile'                 => [Module\ToggleMobile::class,          [R::GET]],
        '/tos'                           => [Module\Tos::class,                   [R::GET]],
 
+       '/update_channel[/{content}]'    => [Module\Update\Channel::class,        [R::GET]],
        '/update_community[/{content}]'  => [Module\Update\Community::class,      [R::GET]],
 
        '/update_display'                => [Module\Update\Display::class, [R::GET]],