Files
codeocean/app/policies/error_template_policy.rb
2017-07-12 21:25:18 +02:00

10 lines
128 B
Ruby

class ErrorTemplatePolicy < AdminOnlyPolicy
def add_attribute?
admin?
end
def remove_attribute?
admin?
end
end