mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Hide methods
This commit is contained in:
parent
82cef0401a
commit
0b6e89dbca
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ class Registrant::ContactsController < RegistrantController
|
||||||
authorize! :read, @contact
|
authorize! :read, @contact
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
def contacts
|
def contacts
|
||||||
begin
|
begin
|
||||||
DomainContact.where(domain_id: domain_ids).pluck(:contact_id) | Domain.where(id: domain_ids).pluck(:registrant_id)
|
DomainContact.where(domain_id: domain_ids).pluck(:contact_id) | Domain.where(id: domain_ids).pluck(:registrant_id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue