use correct route in tag paginator

This commit is contained in:
byte[] 2019-12-07 19:21:01 -05:00
parent 16d9282246
commit fff9bea3fd

View file

@ -1,3 +1,3 @@
= render PhilomenaWeb.ImageView, "index.html", conn: @conn, tags: [{@tag, @body, @dnp_entries}], images: @images, header: "Images tagged #{@tag.name}", scope: [q: @search_query]
= render PhilomenaWeb.ImageView, "index.html", conn: @conn, tags: [{@tag, @body, @dnp_entries}], images: @images, header: "Images tagged #{@tag.name}", scope: [q: @search_query], route: fn p -> Routes.tag_path(@conn, :show, p) end
= render PhilomenaWeb.SearchView, "_form.html", conn: @conn