Skip to content

Commit

Permalink
Remove unused activestorage bits
Browse files Browse the repository at this point in the history
  • Loading branch information
monotypical committed Jan 28, 2025
1 parent 006b606 commit 0596aef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/models/unaccompanied_minor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class UnaccompaniedMinor < ApplicationRecord
:is_permitted,
:have_parental_consent,
:have_parental_consent_options,
:parental_consent,
:uk_parental_consent_file_type,
:uk_parental_consent_filename,
:uk_parental_consent_saved_filename,
Expand Down Expand Up @@ -115,10 +114,6 @@ class UnaccompaniedMinor < ApplicationRecord
assign_attributes(answers)
end

has_one_attached :parental_consent

validates :parental_consent, antivirus: true # Add this for antivirus validation

def formatted_address?
[@residential_line_1, @residential_line_2, @residential_town, @residential_postcode].reject(&:blank?).join(", ")
end
Expand Down

0 comments on commit 0596aef

Please sign in to comment.