about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-21 10:31:20 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-21 10:31:20 +0100
commit7e00a21ea6f76f8167f1070fbfe231bbd65c6cad (patch)
treef9dc54efab6e4fc905934786e468f14320fe4277 /app/controllers
parent19a259915eedcdff8c1e82f3b99a6249010b4b30 (diff)
Small optimizations in Atom feeds
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/accounts_controller.rb2
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