Adjusting design of public pages, optimizing account page queries
This commit is contained in:
parent
ab80ebdeec
commit
aab330eb2d
8 changed files with 79 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue