summaryrefslogtreecommitdiff
path: root/actions/public.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/public.php
parentde7c12baef33d29c92f28168d0446e7c920df017 (diff)
Fix feed links which were broken when the API was restructured
Diffstat (limited to 'actions/public.php')
-rw-r--r--actions/public.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/actions/public.php b/actions/public.php
index 4b71e5853..982dfde15 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -150,14 +150,12 @@ class PublicAction extends Action
return array(new Feed(Feed::RSS1, common_local_url('publicrss'),
_('Public Stream Feed (RSS 1.0)')),
new Feed(Feed::RSS2,
- common_local_url('api',
- array('apiaction' => 'statuses',
- 'method' => 'public_timeline.rss')),
+ common_local_url('ApiTimelinePublic',
+ array('format' => 'rss')),
_('Public Stream Feed (RSS 2.0)')),
new Feed(Feed::ATOM,
- common_local_url('api',
- array('apiaction' => 'statuses',
- 'method' => 'public_timeline.atom')),
+ common_local_url('ApiTimelinePublic',
+ array('format' => 'atom')),
_('Public Stream Feed (Atom)')));
}