forked from GNUsocial/gnu-social
fix navigation links for favorite feed
This commit is contained in:
parent
c5fee7573e
commit
156bd011af
@ -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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user