begone extra parenthesis
parent
b0eade5ad6
commit
e3ecc0871c
|
@ -14,7 +14,7 @@ class AccountsController < ApplicationController
|
|||
unless current_account && current_account.id == @account.id
|
||||
not_found if @account.hidden
|
||||
if @account&.user && @account.user.hides_public_profile?
|
||||
not_found unless current_account && current_account.following?(@account))
|
||||
not_found unless current_account && current_account.following?(@account)
|
||||
end
|
||||
end
|
||||
mark_cacheable! unless user_signed_in?
|
||||
|
|
Loading…
Reference in New Issue