fix navigation links for subscriptions feed

This commit is contained in:
Evan Prodromou 2010-12-13 13:07:25 -05:00
parent 5bbd77b761
commit c5fee7573e
1 changed files with 4 additions and 4 deletions

View File

@ -168,8 +168,8 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
$feed->addLink(common_local_url('AtomPubSubscriptionFeed',
array('subscriber' =>
$this->_profile->id,
'page' =>
$this->_profile->id),
array('page' =>
$this->page - 1)),
array('rel' => 'prev',
'type' => 'application/atom+xml'));
@ -179,8 +179,8 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
$feed->addLink(common_local_url('AtomPubSubscriptionFeed',
array('subscriber' =>
$this->_profile->id,
'page' =>
$this->_profile->id),
array('page' =>
$this->page + 1)),
array('rel' => 'next',
'type' => 'application/atom+xml'));