mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
pass conn to template
This commit is contained in:
parent
702381abc3
commit
15ffe82ff7
2 changed files with 2 additions and 2 deletions
|
@ -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]
|
|
@ -1 +1 @@
|
|||
= render PhilomenaWeb.ImageView, "index.html", images: @images
|
||||
= render PhilomenaWeb.ImageView, "index.html", conn: @conn, images: @images
|
Loading…
Reference in a new issue