Refactor controllers for statuses, accounts, and more (#11249)

This commit is contained in:
Eugen Rochko
2019-07-08 12:03:45 +02:00
committed by GitHub
parent f14776475d
commit 63c7fe8e48
41 changed files with 299 additions and 289 deletions

View File

@ -8,7 +8,7 @@ class FollowingAccountsController < ApplicationController
def index
respond_to do |format|
format.html do
mark_cacheable! unless user_signed_in?
expires_in 0, public: true unless user_signed_in?
next if @account.user_hides_network?