diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-10-29 19:09:42 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-10-29 19:09:42 -0400 |
commit | 35ace5562d999532d799f4d5153b7b3c347042a0 (patch) | |
tree | ad4b6b1066a1a06fd945e923386321195a091c25 /actions/tag.php | |
parent | de7c12baef33d29c92f28168d0446e7c920df017 (diff) |
Fix feed links which were broken when the API was restructured
Diffstat (limited to 'actions/tag.php')
-rw-r--r-- | actions/tag.php | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/actions/tag.php b/actions/tag.php index f0ab30308..3a88c1229 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -86,17 +86,15 @@ class TagAction extends Action sprintf(_('Notice feed for tag %s (RSS 1.0)'), $this->tag)), new Feed(Feed::RSS2, - common_local_url('api', - array('apiaction' => 'tags', - 'method' => 'timeline', - 'argument' => $this->tag.'.rss')), - sprintf(_('Notice feed for %s group (RSS 2.0)'), + common_local_url('ApiTimelineTag', + array('format' => 'rss', + 'tag' => $this->tag)), + sprintf(_('Notice feed for tag %s (RSS 2.0)'), $this->tag)), new Feed(Feed::ATOM, - common_local_url('api', - array('apiaction' => 'tags', - 'method' => 'timeline', - 'argument' => $this->tag.'.atom')), + common_local_url('ApiTimelineTag', + array('format' => 'atom', + 'tag' => $this->tag)), sprintf(_('Notice feed for tag %s (Atom)'), $this->tag))); } |