From d968a34cce99ffbe40bb271f939371a800db1c72 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 16 Feb 2020 01:53:23 -0600 Subject: check use `hidden` instead of `hidden?` --- app/policies/status_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/policies/status_policy.rb') 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? -- cgit