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

fix #1236

parent 4ee3b12b
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,10 @@ ...@@ -41,6 +41,10 @@
target: :_blank, target: :_blank,
class: 'btn btn-light btn-xs' if @page.published %> class: 'btn btn-light btn-xs' if @page.published %>
<%= preview_link %> <%= 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 %> <%= publish_link @page %>
<% end %> <% 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