diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-06 12:34:39 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-06 12:34:39 +0100 |
commit | aab330eb2d39711e19753e89ba7ff67521929cf0 (patch) | |
tree | a652e2dc7f3bbd67264f45bb9c7c010e149c03c8 /app/controllers | |
parent | ab80ebdeecf9410c5b43dde333b2e036e1198e24 (diff) |
Adjusting design of public pages, optimizing account page queries
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/accounts_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |