mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Registrant: Only show domains that user is connected with personally / via company
This commit is contained in:
parent
7b6060b4fb
commit
4f9fa88bd4
2 changed files with 9 additions and 6 deletions
|
@ -22,8 +22,8 @@ class RegistrantUser < User
|
|||
citizen_country_code: country.alpha3)
|
||||
end
|
||||
|
||||
def contacts
|
||||
Contact.registrant_user_contacts(self)
|
||||
def contacts(representment: true)
|
||||
Contact.registrant_user_contacts(self, representment: representment)
|
||||
end
|
||||
|
||||
def direct_contacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue