X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..3bd06529c7f9920c4f71498277f453bf1b8dd030:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 777f16389..15c60beeb 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -154,9 +154,9 @@

- <% if @user and @this_user.id != @user.id %> + <% if current_user and @this_user.id != current_user.id %>
- <%= link_to new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, referer: request.fullpath), :title => t('user.view.report') do%> + <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %>  ⚐ <% end %>