mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Move template decision method to FD concern
This commit is contained in:
parent
7d6d53e420
commit
a6702267e5
2 changed files with 6 additions and 6 deletions
|
@ -19,6 +19,10 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
end
|
||||
end
|
||||
|
||||
def notification_template
|
||||
registrant.org? ? 'legal_person' : 'private_person'
|
||||
end
|
||||
|
||||
def force_delete_scheduled?
|
||||
statuses.include?(DomainStatus::FORCE_DELETE)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue