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

fix

parent e3000b49
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,10 @@
<td class="text-end">
<div class="btn-group" role="group">
<%= link_to t('edit'),
edit_admin_communication_website_post_category_path(website_id: category.website.id, id: category.id),
edit_admin_communication_website_agenda_category_path(website_id: category.website.id, id: category.id),
class: button_classes if can?(:update, category) %>
<%= link_to t('delete'),
admin_communication_website_post_category_path(website_id: category.website.id, id: category.id),
admin_communication_website_agenda_category_path(website_id: category.website.id, id: category.id),
method: :delete,
data: { confirm: t('please_confirm') },
class: button_classes_danger if can?(:destroy, category) %>
......
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