mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
added dedicated registrant model
This commit is contained in:
parent
2ed9672eb5
commit
321e28b8c7
10 changed files with 40 additions and 14 deletions
|
@ -7,7 +7,7 @@ class Domain < ActiveRecord::Base
|
|||
paginates_per 10 # just for showoff
|
||||
|
||||
belongs_to :registrar
|
||||
belongs_to :registrant, class_name: 'Contact'
|
||||
belongs_to :registrant
|
||||
|
||||
has_many :domain_contacts, dependent: :destroy
|
||||
has_many :admin_domain_contacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue