don't require conn for now

This commit is contained in:
byte[] 2019-11-18 00:26:36 -05:00
parent cca1283b55
commit 7405f460cf
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
.block__content.flex.alternating-color
.flex__shrink.spacing-right
= render PhilomenaWeb.ImageView, "_image_container.html", image: @comment.image, size: :thumb_tiny
= render PhilomenaWeb.ImageView, "_image_container.html", image: @comment.image, size: :thumb_tiny, conn: @conn
.flex__grow
a href="/#{@comment.image.id}#comment_#{@comment.id}"
| #

View file

@ -1,4 +1,4 @@
- link = assigns[:link] || Routes.image_path(@conn, :show, @image)
- link = assigns[:link] || "/images/#{@image.id}"
= image_container @image, @size, fn ->
= cond do