X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/600812f6ad23ab7e1cb3ab25c4b09844ba6daa55..efa2c20bff4d68cfdaf5fc532ba5eb0711e7cd2d:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 3b330d294..440d68874 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -11,7 +11,7 @@ <%= number_with_delimiter(current_user.changesets.size) %>
  • - <%= link_to t(".my notes"), :controller => "notes", :action => "mine" %> + <%= link_to t(".my notes"), user_notes_path(@user) %>
  • <%= link_to t(".my traces"), :controller => "traces", :action => "mine" %> @@ -53,7 +53,7 @@ <%= number_with_delimiter(@user.changesets.size) %>
  • - <%= link_to t(".notes"), :controller => "notes", :action => "mine" %> + <%= link_to t(".notes"), user_notes_path(@user) %>
  • <%= link_to t(".traces"), :controller => "traces", :action => "index", :display_name => @user.display_name %> @@ -111,7 +111,7 @@ <% end %> - <% if can?(:set_status, User) || can?(:delete, User) %> + <% if can?(:set_status, User) || can?(:destroy, User) %>