]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/show.html.erb
Refactor reportable_url helper to focus on just the title choices.
[rails.git] / app / views / issues / show.html.erb
index 05ce1b9f1f149c047b0b39048b55b8e6d1c9af51..fa8afa2331dc20f647abcb209bfd6b35d26c2f65 100644 (file)
@@ -46,7 +46,7 @@
       <% if @related_issues.count > 1 %>
         <% @related_issues.each do |issue| %>
           <% if issue.id != @issue.id %>
-            <%= reports_url(issue) %> <br/>
+            <%= link_to reportable_title(issue.reportable), issue %> <br/>
           <% end %>
         <% end %>
       <% else %>