X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..0df788d74232330eea5c2d4854ba0d10796053eb:/app/views/browse/changeset.html.erb?ds=sidebyside diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index be0086863..1fb1e74a4 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -3,7 +3,7 @@

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