propagate conn

This commit is contained in:
byte[] 2019-11-18 00:09:51 -05:00
parent bc82e368a5
commit cca1283b55
2 changed files with 2 additions and 2 deletions

View file

@ -34,4 +34,4 @@ elixir:
a.interaction--hide href="#" rel="nofollow" data-image-id=@image.id
i.fa.fa-eye-slash title='Hide'
.media-box__content.flex.flex--centered.flex--center-distributed class=size_class
= render PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: @size
= render PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: @size, conn: @conn

View file

@ -12,7 +12,7 @@
.block__content.js-resizable-media-container
= for image <- @images do
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: assigns[:size] || :thumb
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: assigns[:size] || :thumb, conn: @conn
.block__header.block__header--light.flex
= pagination