mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
don't require conn for now
This commit is contained in:
parent
cca1283b55
commit
7405f460cf
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
.block__content.flex.alternating-color
|
.block__content.flex.alternating-color
|
||||||
.flex__shrink.spacing-right
|
.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
|
.flex__grow
|
||||||
a href="/#{@comment.image.id}#comment_#{@comment.id}"
|
a href="/#{@comment.image.id}#comment_#{@comment.id}"
|
||||||
| #
|
| #
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- link = assigns[:link] || Routes.image_path(@conn, :show, @image)
|
- link = assigns[:link] || "/images/#{@image.id}"
|
||||||
|
|
||||||
= image_container @image, @size, fn ->
|
= image_container @image, @size, fn ->
|
||||||
= cond do
|
= cond do
|
||||||
|
|
Loading…
Reference in a new issue