diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index d9d9754bf..276b490d6 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -5,6 +5,9 @@ class Epp::Contact < Contact # disable STI, there is type column present self.inheritance_column = :sti_disabled + # temp fix + has_many :legal_documents, as: :documentable + class << self # rubocop: disable Metrics/PerceivedComplexity # rubocop: disable Metrics/CyclomaticComplexity