Support adding and removing attributes of error templates
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
class ErrorTemplatePolicy < AdminOnlyPolicy
|
||||
def add_attribute?
|
||||
admin?
|
||||
end
|
||||
|
||||
def remove_attribute?
|
||||
admin?
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user