This commit is contained in:
Martin Lensment 2015-05-29 18:29:28 +03:00
parent 9f2b4a4550
commit 1e9426ce7b
3 changed files with 106 additions and 100 deletions

View file

@ -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