mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Merge branch 'master' of github.com:domify/registry
This commit is contained in:
commit
622e6988ef
10 changed files with 1291 additions and 1097 deletions
|
@ -85,6 +85,10 @@ class Contact < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
def roid
|
||||
"EIS-#{id}"
|
||||
end
|
||||
|
||||
def to_s
|
||||
name || '[no name]'
|
||||
end
|
||||
|
@ -133,7 +137,7 @@ class Contact < ActiveRecord::Base
|
|||
|
||||
# custom code from client
|
||||
# add prefix when needed
|
||||
if code.present?
|
||||
if code.present?
|
||||
prefix, *custom_code = code.split(':')
|
||||
code = custom_code.join(':') if prefix == registrar.code
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue