0
0
Fork 0

Small optimizations in Atom feeds

This commit is contained in:
Eugen Rochko 2016-03-21 10:31:20 +01:00
parent 19a259915e
commit 7e00a21ea6
5 changed files with 6 additions and 4 deletions

View file

@ -7,7 +7,7 @@ class AccountsController < ApplicationController
def show
respond_to do |format|
format.html { @statuses = @account.statuses.order('id desc').with_includes.with_counters.paginate(page: params[:page], per_page: 10)}
format.atom
format.atom { @entries = @account.stream_entries.order('id desc').with_includes }
end
end