]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
UI changes + Redirection after creating report fixed
[rails.git] / app / views / browse / note.html.erb
index 2c7de033199e2efe2c72e2dc277029b7461ae35b..3c66482b3339a0fb76e1404e7b956b316d0945ea 100644 (file)
@@ -4,7 +4,7 @@
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
   <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
   <% if @user and @user.id!=@note.author.id %>
-    <%= link_to new_issue_url(reportable_id: @note.id, reportable_type: @note.class.name, reported_user_id: @note.author.id), :title => t('browse.note.report') do %>
+    <%= link_to new_issue_url(reportable_id: @note.id, reportable_type: @note.class.name, reported_user_id: @note.author.id,referer: request.fullpath), :title => t('browse.note.report') do %>
         &nbsp;&#9872;
     <% end %>
   <% end %>