summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorRubén Dávila <ruben@gitlab.com>2018-10-17 15:47:18 -0500
committerRubén Dávila <ruben@gitlab.com>2018-11-27 17:23:14 -0500
commit55f6eadc1d75c7c6d2c3413d43feea36f198dfcb (patch)
treef5348d004f312d20b028665ec0042177678260ac /app/services
parenteceb873c7e4beb353634504d9f77b777db9f4ffd (diff)
downloadgitlab-ce-55f6eadc1d75c7c6d2c3413d43feea36f198dfcb.tar.gz
Backport from gitlab-org/gitlab-ee!6878
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 20bfe5af7a1..092e3cac620 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