propagate conn

This commit is contained in:
byte[] 2019-12-03 23:18:49 -05:00
parent 600d37c7c0
commit 6e4865bdf5

View file

@ -19,5 +19,5 @@ a href=Routes.image_report_path(@conn, :new, @image)
' to report duplicate images.
h4 Existing duplicate reports
= render PhilomenaWeb.DuplicateReportView, "_list.html", duplicate_reports: Enum.filter(@dupe_reports, & &1.duplicate_of_image_id == @image.id)
= render PhilomenaWeb.DuplicateReportView, "_list.html", duplicate_reports: Enum.filter(@dupe_reports, & &1.image_id == @image.id)
= render PhilomenaWeb.DuplicateReportView, "_list.html", duplicate_reports: Enum.filter(@dupe_reports, & &1.duplicate_of_image_id == @image.id), conn: @conn
= render PhilomenaWeb.DuplicateReportView, "_list.html", duplicate_reports: Enum.filter(@dupe_reports, & &1.image_id == @image.id), conn: @conn