diff --git a/app/views/forumgroups/edit.html.erb b/app/views/forumgroups/edit.html.erb index ab41aa5..bb3bf5a 100644 --- a/app/views/forumgroups/edit.html.erb +++ b/app/views/forumgroups/edit.html.erb @@ -36,5 +36,5 @@

<%= f.submit "Update group", class: "btn blue left" %>

<% end %> -

<%= button_to "Delete group", @post, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %>

+

<%= button_to "Delete group", @group, :method => "delete", data: {confirm: "Delete group?\nForums + Threads will not be accessible!"}, class: "btn red right" %>

\ No newline at end of file