rosa-build/app/mailers/user_mailer.rb

11 lines
306 B
Ruby

class UserMailer < ActionMailer::Base
default :from => APP_CONFIG['no-reply-email']
def new_user_notification(user)
@user = user
mail(:to => user.email, :subject => "Регистрация на проекте «#{APP_CONFIG['project_name']}»") do |format|
format.html
end
end
end