mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Updated domain status view for pending #2785
This commit is contained in:
parent
e988bb6a20
commit
17eec8e298
5 changed files with 41 additions and 20 deletions
|
@ -681,5 +681,13 @@ class Domain < ActiveRecord::Base
|
|||
def update_whois_record
|
||||
whois_record.blank? ? create_whois_record : whois_record.save
|
||||
end
|
||||
|
||||
def status_notes_array=(notes)
|
||||
self.status_notes = {}
|
||||
notes ||= []
|
||||
statuses.each_with_index do |status, i|
|
||||
status_notes[status] = notes[i]
|
||||
end
|
||||
end
|
||||
end
|
||||
# rubocop: enable Metrics/ClassLength
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue