Add "next" link to Atom feeds
This commit is contained in:
@ -14,6 +14,7 @@ Nokogiri::XML::Builder.new do |xml|
|
||||
|
||||
link_alternate xml, TagManager.instance.url_for(@account)
|
||||
link_self xml, account_url(@account, format: 'atom')
|
||||
link_next xml, account_url(@account, format: 'atom', max_id: @entries.last.id) if @entries.size == 20
|
||||
link_hub xml, api_push_url
|
||||
link_salmon xml, api_salmon_url(@account.id)
|
||||
|
||||
|
Reference in New Issue
Block a user