mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Views and tests for contact disclosure
This commit is contained in:
parent
ea2b64bc69
commit
c03818968f
9 changed files with 130 additions and 78 deletions
|
@ -5,7 +5,7 @@ class Contact < ActiveRecord::Base
|
|||
include EppErrors
|
||||
|
||||
has_one :address, dependent: :destroy
|
||||
has_one :disclosure, class_name: 'ContactDisclosure'
|
||||
has_one :disclosure, class_name: 'ContactDisclosure', dependent: :destroy
|
||||
|
||||
has_many :domain_contacts
|
||||
has_many :domains, through: :domain_contacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue