Skip to content

Commit

Permalink
fixup! Fix: use data from samples directly in samples reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Jul 20, 2023
1 parent eb14aa4 commit acf2d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/sample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def self.institution_is_required
has_many :test_results, through: :sample_identifiers

has_many :samples_reports, through: :samples_report_samples
has_many :samples_report_samples
has_many :samples_report_samples, dependent: :destroy

has_many :assay_attachments, dependent: :destroy
accepts_nested_attributes_for :assay_attachments, allow_destroy: true
Expand Down

0 comments on commit acf2d5f

Please sign in to comment.