def destroy
      authorize! :destroy, @group
      @group.destroy
      response_status = { notice: "Group was successfully destroyed." }
    rescue ActiveRecord::DeleteRestrictionError => e
      response_status = { alert: e.message }
    ensure
      redirect_to groups_url, response_status
    end
def destroy
      authorize! :destroy, @group
      @group.destroy
      response_status = { notice: "Group was successfully destroyed." }
    rescue ActiveRecord::DeleteRestrictionError => e
      response_status = { alert: e.message }
    ensure
      redirect_to groups_url, response_status
    end
DELETE /think_feel_do_dashboard/groups/1