make domain policies templatable

master
multiple creatures 2019-12-07 19:46:11 -06:00
parent 174f588004
commit 2765793f7d
1 changed files with 4 additions and 0 deletions

View File

@ -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