Soc/app/mailers/user_mailer.rb

9 lines
180 B
Ruby
Raw Normal View History

2023-08-19 14:38:38 +00:00
# frozen_string_literal: true
class UserMailer < ApplicationMailer
def confirm_email
@user = params[:user]
mail(to: @user.email, subject: t(".confirm_email"))
end
end