From f624cae813dbf3ab0c1f5a2a391653dc57cb36fd Mon Sep 17 00:00:00 2001 From: huang Date: Tue, 17 Oct 2017 09:10:48 +0800 Subject: [PATCH] =?UTF-8?q?gitlab=20hook=E8=A7=A6=E5=8F=91=E6=9C=BA?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/shixuns_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 3a1e1cb3e..37575988e 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -53,7 +53,7 @@ class ShixunsController < ApplicationController # push代码的时候会触发gitlab hook def ghook - # shixun_modify_status_without_publish(@shixun, 1) + shixun_modify_status_without_publish(@shixun, 1) render :json => {status: "success"} end