def create
      group = current_user.groups.build(group_params)

      if group.save
        flash[:notice] = t("socializer.model.create", model: "Group")
        redirect_to group_path(group)
      else
        render :new
      end
    end
def create
      group = current_user.groups.build(group_params)

      if group.save
        flash[:notice] = t("socializer.model.create", model: "Group")
        redirect_to group_path(group)
      else
        render :new
      end
    end
POST /groups