def update
      note = find_note
      note.update!(note_params)

      flash[:notice] = t("socializer.model.update", model: "Note")
      redirect_to activities_path
    end
def update
      note = find_note
      note.update!(note_params)

      flash[:notice] = t("socializer.model.update", model: "Note")
      redirect_to activities_path
    end
PATCH/PUT /notes/1