make domain policies templatable
parent
174f588004
commit
2765793f7d
|
@ -61,6 +61,10 @@ class DomainBlock < ApplicationRecord
|
|||
additionals
|
||||
end
|
||||
|
||||
def template
|
||||
self.attributes.except('id', 'domain', 'created_at', 'updated_at', 'processing')
|
||||
end
|
||||
|
||||
# workaround for the domain policy editor
|
||||
def undo
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue