diff --git a/lib/philomena_web/templates/image/show.html.slime b/lib/philomena_web/templates/image/show.html.slime index aab52c14..2ed34e17 100644 --- a/lib/philomena_web/templates/image/show.html.slime +++ b/lib/philomena_web/templates/image/show.html.slime @@ -3,7 +3,7 @@ .layout--narrow = if @conn.assigns.advert do - = render PhilomenaWeb.Advertview, "_box.html", advert: @conn.assigns.advert, conn: @conn + = render PhilomenaWeb.AdvertView, "_box.html", advert: @conn.assigns.advert, conn: @conn .image-description = render PhilomenaWeb.ImageView, "_description.html", image: @image, body: @description, conn: @conn diff --git a/lib/philomena_web/templates/topic/show.html.slime b/lib/philomena_web/templates/topic/show.html.slime index 6b8f3daa..776c84a8 100644 --- a/lib/philomena_web/templates/topic/show.html.slime +++ b/lib/philomena_web/templates/topic/show.html.slime @@ -39,7 +39,7 @@ h1 = @topic.title = render PhilomenaWeb.PostView, "_post.html", conn: @conn, post: post, body: body = if @conn.assigns.advert do - = render PhilomenaWeb.Advertview, "_box.html", advert: @conn.assigns.advert, conn: @conn + = render PhilomenaWeb.AdvertView, "_box.html", advert: @conn.assigns.advert, conn: @conn / Post editability data for JS /.js-editable-posts data-editable=editable_communications(@posts).to_json