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

Merge branch 'main' into events

parents 31e897b4 d500a3ec
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,10 @@
target: :_blank,
class: 'btn btn-light btn-xs' if @page.published %>
<%= preview_link %>
<%= edit_link @page %>
<%= link_to t('edit'),
edit_admin_communication_website_page_path(@page),
class: button_classes
# This is not edit_link @page because of the polymorphism of the special pages, which would create a wrong path
%>
<%= publish_link @page %>
<% end %>
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