diff options
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/application_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/application_policy.rb b/app/policies/application_policy.rb index 7b1332209..fd45f2b34 100644 --- a/app/policies/application_policy.rb +++ b/app/policies/application_policy.rb @@ -8,7 +8,7 @@ class ApplicationPolicy @record = record end - delegate :admin?, :moderator?, :halfmod?, :staff?, :can_moderate?, :has_more_authority_than?, to: :current_user, allow_nil: true + delegate :admin?, :moderator?, :halfmod?, :staff?, :can_moderate?, :defanged?, :has_more_authority_than?, to: :current_user, allow_nil: true private |