Link to the correct path for deleting groups

pull/10031/head
Oliver Günther 3 years ago
parent a93ed058a1
commit 1e604383b5
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      app/views/groups/edit.html.erb

@ -40,7 +40,7 @@ See COPYRIGHT and LICENSE files for more details.
</li>
<% if current_user.admin? %>
<li class="toolbar-item">
<%= link_to @group,
<%= link_to group_path(@group),
data: { confirm: t(:text_are_you_sure) },
class: 'button -danger',
method: :delete do %>

Loading…
Cancel
Save