diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-16 01:53:23 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-16 01:53:23 -0600 |
commit | d968a34cce99ffbe40bb271f939371a800db1c72 (patch) | |
tree | 0bc9c3edbcf5596bba923567052ffda90d6602b0 /app/policies/status_policy.rb | |
parent | c5e671fe0072e06f6302bbf0a0a4d5fc228e40a0 (diff) |
check use `hidden` instead of `hidden?`
Diffstat (limited to 'app/policies/status_policy.rb')
-rw-r--r-- | app/policies/status_policy.rb | 2 |
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? |