From aab330eb2d39711e19753e89ba7ff67521929cf0 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 6 Mar 2016 12:34:39 +0100 Subject: Adjusting design of public pages, optimizing account page queries --- app/controllers/accounts_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/accounts_controller.rb') diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 6fbbf97e3..156926927 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -5,6 +5,8 @@ class AccountsController < ApplicationController before_action :set_webfinger_header def show + @statuses = @account.statuses.order('id desc').includes(thread: [:account], reblog: [:account], stream_entry: []) + respond_to do |format| format.html format.atom -- cgit