From: Philipp Holzer Date: Thu, 24 Oct 2019 15:32:03 +0000 (+0200) Subject: sort route config X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=488504314a729a6637787b2e235e45edf376225c;p=friendica.git sort route config --- diff --git a/static/routes.config.php b/static/routes.config.php index 19d1b3156e..3379ee1138 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -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]],