]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_entry.rhtml
Add a marker to the map when clicking on a search result.
[rails.git] / app / views / diary_entry / _diary_entry.rhtml
index 13a2dff30bb67bbefcdc1eadb10e782bf781dd4f..168bb832bc7de54ed81602d9af7632b014141b0a 100644 (file)
@@ -1,5 +1,5 @@
 <b><%= diary_entry.title %></b><br />
 <%= simple_format(diary_entry.body) %>
 <b><%= diary_entry.title %></b><br />
 <%= simple_format(diary_entry.body) %>
-Posted by user <b><%= link_to diary_entry.user.display_name,{:controller => 'user', :action=>'diary', :display_name => diary_entry.user.display_name} %></b> at <%= diary_entry.created_at %><br />
+Posted by user <b><%= link_to diary_entry.user.display_name, :controller => 'user', :action => 'view', :display_name => diary_entry.user.display_name %></b> at <%= diary_entry.created_at %><br />
 <br />
 <hr />
 <br />
 <hr />