app/mailers/invite_mailer.rb
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
#   en.invite_mailer.invite.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 invite(current_user, course, email)
  	@user = current_user
  	@course = course.name
    mail to: email, subject: "Invite"
  end
def invite ( current_user , course , email ) @user = current_user @course = course . name mail to : email , subject : "Invite" 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 :
current_user
<not_specific>
course
<not_specific>
email
<not_specific>