def create
      comment = build_comment

      if comment.save
        notice = t("socializer.model.create", model: "Comment")
        redirect_to activities_path, notice: notice
      else
        render :new, locals: { comment: comment,
                               target_id: comment.activity_target_id }
      end
    end
def create
      comment = build_comment

      if comment.save
        notice = t("socializer.model.create", model: "Comment")
        redirect_to activities_path, notice: notice
      else
        render :new, locals: { comment: comment,
                               target_id: comment.activity_target_id }
      end
    end
POST /comments