mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Fix styling issues
This commit is contained in:
parent
2c8f1081c9
commit
39791f5755
5 changed files with 42 additions and 46 deletions
|
@ -20,6 +20,11 @@ class Dispute < ApplicationRecord
|
|||
|
||||
alias_attribute :name, :domain_name
|
||||
|
||||
def self.close_by_domain(domain_name)
|
||||
dispute = Dispute.active.find_by(domain_name: domain_name)
|
||||
dispute.update(closed: true) if dispute.present?
|
||||
end
|
||||
|
||||
def set_expiry_date
|
||||
return if starts_at.blank?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue