small bugfixes for the mailer
This commit is contained in:
parent
5701c3a873
commit
20a5ec863f
3 changed files with 6 additions and 5 deletions
|
|
@ -5,6 +5,6 @@ class Notifier < ActionMailer::Base
|
|||
@receiver = recipient
|
||||
@sender = sender
|
||||
mail(:to => "#{recipient.real_name} <#{recipient.email}>",
|
||||
:subject => "new friend request from #{@sender.inspect}")
|
||||
:subject => "new Diaspora* friend request from #{@sender.real_name}")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -51,8 +51,9 @@
|
|||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
just sent you a friend request on Diaspora*
|
||||
You should really think about checking it out.
|
||||
|
||||
= link_to "sign in here", new_user_session_path
|
||||
|
||||
%br
|
||||
= link_to "sign in here", new_user_session_url
|
||||
%br
|
||||
love,
|
||||
%br
|
||||
the diaspora email robot
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
just sent you a friend request on Diaspora*
|
||||
You should really think about checking it out.
|
||||
|
||||
= "sign in here: #{new_user_session_path}"
|
||||
= "sign in here: #{new_user_session_url}"
|
||||
|
||||
love,
|
||||
the diaspora email robot
|
||||
|
|
|
|||
Loading…
Reference in a new issue