about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 908bd1bdb..cfc93b7ce 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -259,7 +259,7 @@ class ApplicationController < ActionController::Base
   end
 
   def authenticated_or_following?(account)
-    current_user.functional? || following?(account)
+    current_account? || following?(account)
   end
 
   def current_account?