diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-21 10:31:20 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-21 10:31:20 +0100 |
commit | 7e00a21ea6f76f8167f1070fbfe231bbd65c6cad (patch) | |
tree | f9dc54efab6e4fc905934786e468f14320fe4277 /app/controllers | |
parent | 19a259915eedcdff8c1e82f3b99a6249010b4b30 (diff) |
Small optimizations in Atom feeds
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 72d32baf0..cfccd0f19 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -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 |