diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/domain_allow.rb | 1 | ||||
-rw-r--r-- | app/models/domain_block.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/models/domain_allow.rb b/app/models/domain_allow.rb index 734284e59..8bd647519 100644 --- a/app/models/domain_allow.rb +++ b/app/models/domain_allow.rb @@ -13,6 +13,7 @@ class DomainAllow < ApplicationRecord include DomainNormalizable + include Paginable validates :domain, presence: true, uniqueness: true, domain: true diff --git a/app/models/domain_block.rb b/app/models/domain_block.rb index 2b18e01fa..743e21a29 100644 --- a/app/models/domain_block.rb +++ b/app/models/domain_block.rb @@ -16,6 +16,7 @@ class DomainBlock < ApplicationRecord include DomainNormalizable + include Paginable enum severity: [:silence, :suspend, :noop] |