From aa27228dea4c0ca3c8ab0b6716d2df97498aa785 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 17 Jan 2010 09:12:40 +0000 Subject: [PATCH] The new message route want the display name now, not the id. Closes #2642. --- app/models/notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5