X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c9fb1466085e7822a5dff22b2a2006d02b804178..56db9ca2b7e2475cd8025630049fb4a4b824f2d9:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index 50c15cd9d..e385e942b 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -23,11 +23,11 @@ <%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> <% if note.author.nil? %> - <%= note.author_name %> + <% else %> - <%= link_to h(note.author_name), :controller => "user", :action => "view", :display_name => note.author_name %> + <%= link_to h(note.author.display_name), user_url(:display_name => note.author.display_name) %> <% end %> - <%= htmlize note.comments.first.body %> + <%= note.comments.first.body.to_html %> <%= l note.created_at %> <%= l note.updated_at %>