The new message route want the display name now, not the id. Closes #2642.

This commit is contained in:
Tom Hughes 2010-01-17 09:12:40 +00:00
parent 64a28f5de6
commit aa27228dea

View file

@ -84,7 +84,7 @@ class Notifier < ActionMailer::Base
:replyurl => url_for(:host => SERVER_URL,
:controller => "message",
:action => "new",
:user_id => comment.user.id,
:display_name => comment.user.display_name,
:title => "Re: #{comment.diary_entry.title}")
end