forked from Trustie/forgeplus
ADD 日志
This commit is contained in:
parent
97cda03c23
commit
bbc9f23eb5
|
@ -40,6 +40,7 @@ class Ci::ProjectsController < Ci::BaseController
|
|||
begin
|
||||
ActiveRecord::Base.transaction do
|
||||
if @repo
|
||||
Rails.logger.info "==========> @repo已经存在 直接激活: #{@repo.to_json}"
|
||||
return render_error('该项目已经激活') if @repo.repo_active?
|
||||
@repo.activate!(@project)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue