Adjusting design of public pages, optimizing account page queries

This commit is contained in:
Eugen Rochko
2016-03-06 12:34:39 +01:00
parent ab80ebdeec
commit aab330eb2d
8 changed files with 79 additions and 34 deletions

View File

@ -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