The new message route want the display name now, not the id. Closes #2642.
This commit is contained in:
parent
64a28f5de6
commit
aa27228dea
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Notifier < ActionMailer::Base
|
||||||
:replyurl => url_for(:host => SERVER_URL,
|
:replyurl => url_for(:host => SERVER_URL,
|
||||||
:controller => "message",
|
:controller => "message",
|
||||||
:action => "new",
|
:action => "new",
|
||||||
:user_id => comment.user.id,
|
:display_name => comment.user.display_name,
|
||||||
:title => "Re: #{comment.diary_entry.title}")
|
:title => "Re: #{comment.diary_entry.title}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue