mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Show all contacts
This commit is contained in:
parent
24b51809c3
commit
03acc3fd3b
2 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@ class Registrar::DomainsController < Registrar::DeppController # EPP controller
|
|||
def init_contacts_autocomplete_map
|
||||
@contacts_autocomplete_map ||=
|
||||
current_user.registrar.contacts.pluck(:name, :code).map { |c| ["#{c.second} #{c.first}", c.second] }
|
||||
@priv_contacts_autocomplete_map ||=
|
||||
current_user.registrar.priv_contacts.pluck(:name, :code).map { |c| ["#{c.second} #{c.first}", c.second] }
|
||||
# @priv_contacts_autocomplete_map ||=
|
||||
# current_user.registrar.priv_contacts.pluck(:name, :code).map { |c| ["#{c.second} #{c.first}", c.second] }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue