summaryrefslogtreecommitdiff
path: root/actions/showstream.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/showstream.php
parentde7c12baef33d29c92f28168d0446e7c920df017 (diff)
Fix feed links which were broken when the API was restructured
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index de7100b1d..4f4806037 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -128,17 +128,17 @@ class ShowstreamAction extends ProfileAction
sprintf(_('Notice feed for %s (RSS 1.0)'),
$this->user->nickname)),
new Feed(Feed::RSS2,
- common_local_url('api',
- array('apiaction' => 'statuses',
- 'method' => 'user_timeline',
- 'argument' => $this->user->nickname.'.rss')),
+ common_local_url('ApiTimelineUser',
+ array(
+ 'id' => $this->user->nickname,
+ 'format' => 'rss')),
sprintf(_('Notice feed for %s (RSS 2.0)'),
$this->user->nickname)),
new Feed(Feed::ATOM,
- common_local_url('api',
- array('apiaction' => 'statuses',
- 'method' => 'user_timeline',
- 'argument' => $this->user->nickname.'.atom')),
+ common_local_url('ApiTimelineUser',
+ array(
+ 'id' => $this->user->nickname,
+ 'format' => 'atom')),
sprintf(_('Notice feed for %s (Atom)'),
$this->user->nickname)),
new Feed(Feed::FOAF,