about summary refs log tree commit diff
path: root/app/controllers/accounts_controller.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-21 22:20:24 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-21 22:20:24 -0500
commite3ecc0871cc848648131f69758a0cc9220f9d77d (patch)
treea338cc184d3f96f518c5e8d21aa06fecb7306fae /app/controllers/accounts_controller.rb
parentb0eade5ad6f8fa60939c7b416e063d81886f5917 (diff)
begone extra parenthesis
Diffstat (limited to 'app/controllers/accounts_controller.rb')
-rw-r--r--app/controllers/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
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?