fix title too

This commit is contained in:
Seth Call 2020-04-04 19:37:24 -05:00
parent ddb5ba42fa
commit e7df37c157
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ module JamRuby
sendgrid_category "Invitation"
sendgrid_unique_args :type => "friend_invitation"
mail(:to => invited_user.email, :subject => "You've been invited to JamKazam by #{invited_user.sender.name}") do |format|
mail(:to => invited_user.email, :subject => @receiver ? "You have a new friend request on JamKazam" : "You've been invited to JamKazam by #{invited_user.sender.name}") do |format|
format.text
format.html { render :layout => "from_user_mailer" }
end