mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Refactor #2660
This commit is contained in:
parent
9f2b4a4550
commit
1e9426ce7b
3 changed files with 106 additions and 100 deletions
|
@ -155,6 +155,10 @@ class Domain < ActiveRecord::Base
|
|||
self[:name_dirty] = value
|
||||
end
|
||||
|
||||
def roid
|
||||
"EIS-#{id}"
|
||||
end
|
||||
|
||||
def registrant_typeahead
|
||||
@registrant_typeahead || registrant.try(:name) || nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue