diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/domain_block.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/domain_block.rb b/app/models/domain_block.rb index 9dd9a9085..2c577ec13 100644 --- a/app/models/domain_block.rb +++ b/app/models/domain_block.rb @@ -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 |