summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-11-30 16:52:38 +0000
committerPhil Hughes <me@iamphill.com>2018-11-30 16:52:38 +0000
commit5f1b71d18a7b0fcabdde6819b7f6b8d98e625918 (patch)
treee5f6555ed887bc98dfcf2a5d5f842b10b09896d8 /app/services
parent93d6f56968f49d1c91dd73ddd25745ee781e9486 (diff)
parentfa7acd99e1b5385f5d818199d18ab62ebb39a24b (diff)
downloadgitlab-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.rb2
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