Remove dead code

This commit is contained in:
Artur Beljajev 2019-12-18 05:40:53 +02:00 committed by Alex Sherman
parent 915ebbff08
commit fd95d76c49
3 changed files with 1 additions and 5 deletions

View file

@ -55,7 +55,6 @@ class Domain < ApplicationRecord
accepts_nested_attributes_for :dnskeys, allow_destroy: true
has_many :legal_documents, as: :documentable
accepts_nested_attributes_for :legal_documents, reject_if: proc { |attrs| attrs[:body].blank? }
has_many :registrant_verifications, dependent: :destroy
after_initialize do