diff options
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/instance_policy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/instance_policy.rb b/app/policies/instance_policy.rb index a73823556..801ca162e 100644 --- a/app/policies/instance_policy.rb +++ b/app/policies/instance_policy.rb @@ -8,4 +8,8 @@ class InstancePolicy < ApplicationPolicy def show? admin? end + + def destroy? + admin? + end end |