projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
64a28f5
)
The new message route want the display name now, not the id. Closes #2642.
author
Tom Hughes
<tom@compton.nu>
Sun, 17 Jan 2010 09:12:40 +0000
(09:12 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 17 Jan 2010 09:12:40 +0000
(09:12 +0000)
app/models/notifier.rb
patch
|
blob
|
history
diff --git
a/app/models/notifier.rb
b/app/models/notifier.rb
index 7fc276042c54817aec620fdd6ad47efe5c2457f4..1f3d39808ecafcfd29a56debb63fe9dfc925dc7d 100644
(file)
--- 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