proto.git 2/app/mailers/user_mailer.rb
def activation_success_email(user)
    @user = user
    mail(:to => user.email,
         :subject => t('messages.activation_success_mail.subject'))
  end
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
#   en.user_mailer.activation_success_email.subject
#
Subject can be set in your I18n file at config/locales/en.yml
with the following lookup.


Subject can be set in your I18n file at config / locales / en . yml with the following lookup .
def activation_success_email(user)
    @user = user
    mail(:to => user.email,
         :subject => t('messages.activation_success_mail.subject'))
  end
def activation_success_email ( user ) @user = user mail ( :to => user . email , :subject => t ( 'messages.activation_success_mail.subject' ) ) end
Subject can be set in your I18n file at config/locales/en.yml
with the following lookup:
Subject can be set in your I18n file at config / locales / en . yml with the following lookup :
user