From 1ac6078b051da30d26185ba95933d21f30bb73fc Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 24 Aug 2013 22:42:52 +0300 Subject: [PATCH] Fixed 500 error when try to remove group --- app/controllers/groups_controller.rb | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 1190dd4..60fc3f6 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -87,7 +87,6 @@ class GroupsController < ApplicationController end def destroy - @group.truncate_teams @group.destroy redirect_to root_path, notice: 'Group was removed.' -- libgit2 0.21.2