From e3ecc0871cc848648131f69758a0cc9220f9d77d Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 21 Jul 2019 22:20:24 -0500 Subject: [PATCH] begone extra parenthesis --- app/controllers/accounts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 25a8e8e30..bcc806b89 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -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?