summaryrefslogtreecommitdiff
path: root/actions/showgroup.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-10-29 19:09:42 -0400
committerCraig Andrews <candrews@integralblue.com>2009-10-29 19:09:42 -0400
commit35ace5562d999532d799f4d5153b7b3c347042a0 (patch)
treead4b6b1066a1a06fd945e923386321195a091c25 /actions/showgroup.php
parentde7c12baef33d29c92f28168d0446e7c920df017 (diff)
Fix feed links which were broken when the API was restructured
Diffstat (limited to 'actions/showgroup.php')
-rw-r--r--actions/showgroup.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php
index bfe45ddad..a4af29391 100644
--- a/actions/showgroup.php
+++ b/actions/showgroup.php
@@ -328,17 +328,15 @@ class ShowgroupAction extends GroupDesignAction
sprintf(_('Notice feed for %s group (RSS 1.0)'),
$this->group->nickname)),
new Feed(Feed::RSS2,
- common_local_url('api',
- array('apiaction' => 'groups',
- 'method' => 'timeline',
- 'argument' => $this->group->nickname.'.rss')),
+ common_local_url('ApiTimelineGroup',
+ array('format' => 'rss',
+ 'id' => $this->group->nickname)),
sprintf(_('Notice feed for %s group (RSS 2.0)'),
$this->group->nickname)),
new Feed(Feed::ATOM,
- common_local_url('api',
- array('apiaction' => 'groups',
- 'method' => 'timeline',
- 'argument' => $this->group->nickname.'.atom')),
+ common_local_url('ApiTimelineGroup',
+ array('format' => 'atom',
+ 'id' => $this->group->nickname)),
sprintf(_('Notice feed for %s group (Atom)'),
$this->group->nickname)),
new Feed(Feed::FOAF,