begone extra parenthesis

staging
multiple creatures 2019-07-21 22:20:24 -05:00
parent b0eade5ad6
commit e3ecc0871c
1 changed files with 1 additions and 1 deletions

View File

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