about summary refs log tree commit diff
path: root/app/policies/status_policy.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-16 01:53:23 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-16 01:53:23 -0600
commitd968a34cce99ffbe40bb271f939371a800db1c72 (patch)
tree0bc9c3edbcf5596bba923567052ffda90d6602b0 /app/policies/status_policy.rb
parentc5e671fe0072e06f6302bbf0a0a4d5fc228e40a0 (diff)
check use `hidden` instead of `hidden?`
Diffstat (limited to 'app/policies/status_policy.rb')
-rw-r--r--app/policies/status_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb
index fad51d13c..c573ba7a1 100644
--- a/app/policies/status_policy.rb
+++ b/app/policies/status_policy.rb
@@ -99,7 +99,7 @@ class StatusPolicy < ApplicationPolicy
   end
 
   def hidden?
-    record.hidden?
+    record.hidden
   end
 
   def still_accessible?