Skip to content

Commit

Permalink
Break down a long line
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Dec 19, 2024
1 parent 2b38831 commit 2a9459d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/rodauth/rails/feature/email.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ module Email

# Create emails with ActionMailer which uses configured delivery method.
def create_email_to(to, subject, body)
Rodauth::Rails::Mailer.create_email(to: to, from: email_from, subject: "#{email_subject_prefix}#{subject}", body: body)
Rodauth::Rails::Mailer.create_email(
to: to,
from: email_from,
subject: "#{email_subject_prefix}#{subject}",
body: body
)
end

# Delivers the given email.
Expand Down

0 comments on commit 2a9459d

Please sign in to comment.