diff --git a/lib/philomena_web/templates/image/_image_box.html.slime b/lib/philomena_web/templates/image/_image_box.html.slime index 5c343d65..f7332264 100644 --- a/lib/philomena_web/templates/image/_image_box.html.slime +++ b/lib/philomena_web/templates/image/_image_box.html.slime @@ -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 \ No newline at end of file + = render PhilomenaWeb.ImageView, "_image_container.html", image: @image, size: @size, conn: @conn \ No newline at end of file diff --git a/lib/philomena_web/templates/image/index.html.slime b/lib/philomena_web/templates/image/index.html.slime index cb2c75a5..f4113096 100644 --- a/lib/philomena_web/templates/image/index.html.slime +++ b/lib/philomena_web/templates/image/index.html.slime @@ -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