diff options
author | Phil Hughes <me@iamphill.com> | 2018-11-30 16:52:38 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-30 16:52:38 +0000 |
commit | 5f1b71d18a7b0fcabdde6819b7f6b8d98e625918 (patch) | |
tree | e5f6555ed887bc98dfcf2a5d5f842b10b09896d8 /app/services | |
parent | 93d6f56968f49d1c91dd73ddd25745ee781e9486 (diff) | |
parent | fa7acd99e1b5385f5d818199d18ab62ebb39a24b (diff) | |
download | gitlab-ce-5f1b71d18a7b0fcabdde6819b7f6b8d98e625918.tar.gz |
Merge branch '6861-group-level-project-templates-ce' into 'master'
Backport from gitlab-org/gitlab-ee!6878
See merge request gitlab-org/gitlab-ce!23391
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/create_service.rb b/app/services/projects/create_service.rb index 2458f5b308a..9e77a3237e3 100644 --- a/app/services/projects/create_service.rb +++ b/app/services/projects/create_service.rb @@ -9,7 +9,7 @@ module Projects end def execute - if @params[:template_name]&.present? + if @params[:template_name].present? return ::Projects::CreateFromTemplateService.new(current_user, params).execute end |