mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
Advertview -> AdvertView
This commit is contained in:
parent
c621c83ac8
commit
725cd737f4
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue