diff --git a/app/views/admin/communication/websites/pages/show.html.erb b/app/views/admin/communication/websites/pages/show.html.erb index d03a5465f12d65a30ff7b2c2d32f29c1da3fa239..9c7b4121a4fffa19c521bf677959b6034665df10 100644 --- a/app/views/admin/communication/websites/pages/show.html.erb +++ b/app/views/admin/communication/websites/pages/show.html.erb @@ -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 %>