fix navigation links for favorite feed

This commit is contained in:
Evan Prodromou 2010-12-13 13:08:38 -05:00
parent c5fee7573e
commit 156bd011af

View File

@ -163,8 +163,8 @@ class AtompubfavoritefeedAction extends ApiAuthAction
$feed->addLink(common_local_url('AtomPubFavoriteFeed', $feed->addLink(common_local_url('AtomPubFavoriteFeed',
array('profile' => array('profile' =>
$this->_profile->id, $this->_profile->id),
'page' => array('page' =>
$this->page - 1)), $this->page - 1)),
array('rel' => 'prev', array('rel' => 'prev',
'type' => 'application/atom+xml')); 'type' => 'application/atom+xml'));
@ -174,8 +174,8 @@ class AtompubfavoritefeedAction extends ApiAuthAction
$feed->addLink(common_local_url('AtomPubFavoriteFeed', $feed->addLink(common_local_url('AtomPubFavoriteFeed',
array('profile' => array('profile' =>
$this->_profile->id, $this->_profile->id),
'page' => array('page' =>
$this->page + 1)), $this->page + 1)),
array('rel' => 'next', array('rel' => 'next',
'type' => 'application/atom+xml')); 'type' => 'application/atom+xml'));