9 lines
268 B
Ruby
9 lines
268 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']}»")
|
||
|
end
|
||
|
end
|