]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Set the reported_user in a callback
[rails.git] / app / views / user / view.html.erb
index 417b07bd0a618e1b8365600cf69b90cb0d1944d1..a23f15e55a2a4590a81e122e01749b7722b3e054 100644 (file)
 
     <% if @user and @this_user.id != @user.id %>
       <div class="report-button">
-         <%= link_to new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, reported_user_id: @this_user.id,referer: request.fullpath), :title => t('user.view.report') do%>
+         <%= 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%>
             &nbsp;&#9872;
          <% end %>
       </div>