From 5233106622d8c43977663d59ce61c6f69d4ba890 Mon Sep 17 00:00:00 2001 From: jomo Date: Thu, 26 Jun 2014 22:38:36 +0200 Subject: [PATCH] Fix: Cannot destroy forum groups --- app/views/forumgroups/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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