]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Remove the hardcoded pixel width for columns.
[rails.git] / app / views / user / view.html.erb
index 777f16389b47b99a132f68d2b7a557e1b8e02bd0..68f27ca38fcb50d13f9678b8f331df2ca446db6a 100644 (file)
       </p>
     </div>
 
-    <% if @user and @this_user.id != @user.id %>
+    <% if current_user and @this_user.id != current_user.id %>
       <div class="report-button">
          <%= 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;