]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Fixed an error + Added email notifications for moderators
[rails.git] / app / views / user / view.html.erb
index 04329feb7a4f89f2d2df62e34ab742ddc99efdc7..41d7b0064213c819b62fa66486cbed77a4d16767 100644 (file)
@@ -82,7 +82,7 @@
             <% end %>
           </li>
           <li>
-             <%= link_to t('user.view.report'), new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name) %>
+             <%= link_to t('user.view.report'), new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, reported_user_id: @this_user.id) %>
           </li>
           <% if @this_user.blocks.exists? %>
             <li>