app/controllers/groups_controller.rb
# Casts the selected group into an unfathomable abyss of destruction
Casts the selected group into an unfathomable abyss of destruction
Casts the selected group into an unfathomable abyss of destruction
def destroy
    authorize! :destroy, Group
    @group.destroy 
    flash[:notice] = t(:group) + t(:deleted)
    redirect_to groups_path 
  end
def destroy authorize! :destroy , Group @group . destroy flash [ :notice ] = t ( :group ) + t ( :deleted ) redirect_to groups_path end
Casts the selected group into an unfathomable abyss of destruction
Casts the selected group into an unfathomable abyss of destruction