From 1cbf2510e7326086a16106eb6566bcfaa330179c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 10 Jul 2015 00:27:26 +0200 Subject: [PATCH] /:nickname/all/rss had to be before /:tagger/all/:tag ...though this makes it impossible to get a list called "rss" so FIXME, the RSS 1.0 actions should be in the API or something --- lib/router.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/router.php b/lib/router.php index f6360377da..249e5e8823 100644 --- a/lib/router.php +++ b/lib/router.php @@ -949,6 +949,13 @@ class Router array('action' => 'subqueue'), array('nickname' => Nickname::DISPLAY_FMT)); + // some targeted RSS 1.0 actions (extends TargetedRss10Action) + foreach (array('all', 'replies') as $a) { + $m->connect(':nickname/'.$a.'/rss', + array('action' => $a.'rss'), + array('nickname' => Nickname::DISPLAY_FMT)); + } + // people tags $m->connect(':nickname/peopletags', @@ -1016,12 +1023,6 @@ class Router array('nickname' => Nickname::DISPLAY_FMT)); } - foreach (array('all', 'replies') as $a) { - $m->connect(':nickname/'.$a.'/rss', - array('action' => $a.'rss'), - array('nickname' => Nickname::DISPLAY_FMT)); - } - $m->connect(':nickname/avatar', array('action' => 'avatarbynickname'), array('nickname' => Nickname::DISPLAY_FMT)); -- 2.39.5