Skip to content

Commit 9d31433

Browse files
committed
Moving the state and county from ruby model to the erb themselves
1 parent bca89d2 commit 9d31433

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/mailers/screener_mailer.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ class ScreenerMailer < ApplicationMailer
33

44
def send_screener_results(outgoing_email:)
55
@screener = outgoing_email.screener
6-
@state = @screener.state
7-
@county = @screener.county
86
attachments.inline["gbh_email_header.png"] = File.binread(Rails.root.join("app/assets/images/gbh_email_header.png"))
97
mail(to: @screener.email, subject: I18n.t("views.screener_mailer.send_screener_results.subject"))
108
end

0 commit comments

Comments
 (0)