def update
      group = find_group
      group.update!(group_params)

      flash[:notice] = t("socializer.model.update", model: "Group")
      redirect_to group_path(group)
    end
def update
      group = find_group
      group.update!(group_params)

      flash[:notice] = t("socializer.model.update", model: "Group")
      redirect_to group_path(group)
    end
PATCH/PUT /groups/1