diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-18 03:06:27 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-18 03:06:27 -0600 |
commit | 87160de42bb7037f81fbfd52678cb6d2c0b80ca8 (patch) | |
tree | 672a3766bb416890fbc027d90c551d9c45991f12 /app | |
parent | a38d8ec3ed3accf8789a774fd5d03c6b940095ea (diff) |
(actually) add `defanged?` prop to application policy
Diffstat (limited to 'app')
-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 |