]> git.mxchange.org Git - friendica.git/commitdiff
sort route config
authorPhilipp Holzer <admin+github@philipp.info>
Thu, 24 Oct 2019 15:32:03 +0000 (17:32 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Thu, 24 Oct 2019 15:32:03 +0000 (17:32 +0200)
static/routes.config.php

index 19d1b3156ea0d16cb510cda0790490ac0ede8043..3379ee113831395fdb177daf2c26ba05ba8d771b 100644 (file)
@@ -132,17 +132,17 @@ return [
        '/home'               => [Module\Home::class,         [R::GET]],
        '/help[/{doc:.+}]'    => [Module\Help::class,         [R::GET]],
        '/inbox[/{nickname}]' => [Module\Inbox::class,        [R::GET, R::POST]],
-
-       '/item'            => [
-               '/ignore/{id}' => [Module\Item\Ignore::class, [R::GET]],
-       ],
-
-       '/invite' => [Module\Invite::class, [R::GET, R::POST]],
+       '/invite'             => [Module\Invite::class,       [R::GET, R::POST]],
 
        '/install'         => [
                '[/]'                    => [Module\Install::class, [R::GET, R::POST]],
                '/testrewrite'           => [Module\Install::class, [R::GET]],
        ],
+
+       '/item'            => [
+               '/ignore/{id}' => [Module\Item\Ignore::class, [R::GET]],
+       ],
+
        '/like/{item:\d+}' => [Module\Like::class,            [R::GET]],
        '/localtime'       => [Module\Debug\Localtime::class, [R::GET, R::POST]],
        '/login'           => [Module\Login::class,           [R::GET, R::POST]],