pass conn to template

This commit is contained in:
byte[] 2019-10-08 21:13:44 -04:00
parent 702381abc3
commit 15ffe82ff7
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
= render PhilomenaWeb.ImageView, "index.html", images: @images, route: fn p -> Routes.search_path(@conn, :index, p) end, params: [q: @search_query] = render PhilomenaWeb.ImageView, "index.html", conn: @conn, images: @images, route: fn p -> Routes.search_path(@conn, :index, p) end, params: [q: @search_query]

View file

@ -1 +1 @@
= render PhilomenaWeb.ImageView, "index.html", images: @images = render PhilomenaWeb.ImageView, "index.html", conn: @conn, images: @images