Skip to content
Snippets Groups Projects
Commit 3b880c7a authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 172a94b6
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,9 @@
<%= link_to page,
admin_communication_website_page_path(website_id: page.website.id, id: page.id),
class: "#{'draft' unless page.published?}" %>
<p class="small text-muted mb-0"><%= page.ancestors[1..-1].join(' / ') %></p>
<% if page.ancestors.many? %>
<p class="small text-muted mb-0"><%= page.ancestors.join(' / ') %></p>
<% end %>
</td>
<td>
<% if page.featured_image.attached? && page.featured_image.representable? %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment