Browse Source

修改项目创建的问题

tags/v1
sylor_huang@126.com 6 years ago
parent
commit
3a9f0509fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/projects/create_service.rb

+ 1
- 1
app/services/projects/create_service.rb View File

@@ -50,6 +50,6 @@ class Projects::CreateService < ApplicationService
end

def repo_is_public
!get_is_public
params[:private].blank? ? true : !get_is_public
end
end

Loading…
Cancel
Save