Advertview -> AdvertView

This commit is contained in:
byte[] 2019-11-29 01:28:04 -05:00
parent c621c83ac8
commit 725cd737f4
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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