]> git.openstreetmap.org Git - rails.git/commitdiff
Fix links to user notes
authorTom Hughes <tom@compton.nu>
Mon, 15 Oct 2012 21:24:39 +0000 (22:24 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 15 Oct 2012 21:24:39 +0000 (22:24 +0100)
app/views/user/view.html.erb

index 689028afd3274a223299e3fbf666a515d4a928df..6eed09c505537bd10cbc7201175ddd7e66ee36dc 100644 (file)
@@ -11,7 +11,7 @@
     <%= link_to t('user.view.my traces'), :controller => 'trace', :action=>'mine' %>
     <span class='count-number'><%= number_with_delimiter(@user.traces.size) %></span>
     |
-    <%= link_to t('user.view.my notes'), :controller => 'note', :action=> 'mine' %>
+    <%= link_to t('user.view.my notes'), :controller => 'notes', :action=> 'mine' %>
     |
     <%= link_to t('user.view.my diary'), :controller => 'diary_entry', :action => 'list', :display_name => @user.display_name %>
     <span class='count-number'><%= number_with_delimiter(@user.diary_entries.size) %></span>
@@ -36,7 +36,7 @@
     <%= link_to t('user.view.traces'), :controller => 'trace', :action => 'list', :display_name => @this_user.display_name %>
     <span class='count-number'><%= number_with_delimiter(@this_user.traces.size) %></span>
     |
-    <%= link_to t('user.view.notes'), :controller => 'note', :action=> 'mine' %>
+    <%= link_to t('user.view.notes'), :controller => 'notes', :action=> 'mine' %>
     |
     <!-- Displaying another user's profile page -->
     <%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => @this_user.display_name %>