Small optimizations in Atom feeds
This commit is contained in:
parent
19a259915e
commit
7e00a21ea6
5 changed files with 6 additions and 4 deletions
|
@ -15,7 +15,7 @@ Nokogiri::XML::Builder.new do |xml|
|
|||
link_hub xml, Rails.configuration.x.hub_url
|
||||
link_salmon xml, api_salmon_url(@account.id)
|
||||
|
||||
@account.stream_entries.order('id desc').each do |stream_entry|
|
||||
@entries.order('id desc').each do |stream_entry|
|
||||
entry(xml, false) do
|
||||
include_entry xml, stream_entry
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue