Skip to content

Commit

Permalink
Fix contact deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed Jun 21, 2019
1 parent 7c76861 commit 67985ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/contact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Contact < ActiveRecord::Base
has_many :domains, through: :domain_contacts
has_many :legal_documents, as: :documentable
has_many :registrant_domains, class_name: 'Domain', foreign_key: 'registrant_id'
has_many :actions, dependent: :destroy

has_paper_trail class_name: "ContactVersion", meta: { children: :children_log }

Expand Down

0 comments on commit 67985ff

Please sign in to comment.