Skip to content
Snippets Groups Projects
Commit 09c8256e authored by pabois's avatar pabois
Browse files

close #443

parent 1538afb4
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
admin_communication_website_page_path(website_id: page.website.id, id: page.id),
method: :delete,
data: { confirm: page.children.any? ? t('please_confirm_with_children') : t('please_confirm') },
class: button_classes_danger if can?(:destroy, page) %>
class: button_classes_danger if can?(:destroy, page) && !page.is_special_page? %>
</div>
</td>
</tr>
......
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