mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Refactor status form #2623
This commit is contained in:
parent
9b9e1a3068
commit
238b3aa5e0
4 changed files with 7 additions and 6 deletions
|
@ -317,7 +317,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def force_deletable?
|
||||
domain_statuses.where(value: DomainStatus::FORCE_DELETE).empty?
|
||||
!statuses.include?(DomainStatus::FORCE_DELETE)
|
||||
end
|
||||
|
||||
def registrant_verification_asked?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue