From: Tom Hughes Date: Sun, 17 Jan 2010 09:12:40 +0000 (+0000) Subject: The new message route want the display name now, not the id. Closes #2642. X-Git-Tag: live~6891^2~9 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/aa27228dea4c0ca3c8ab0b6716d2df97498aa785?ds=sidebyside The new message route want the display name now, not the id. Closes #2642. --- diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 7fc276042..1f3d39808 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -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