diff options
author | Rubén Dávila <ruben@gitlab.com> | 2018-10-17 15:47:18 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2018-11-27 17:23:14 -0500 |
commit | 55f6eadc1d75c7c6d2c3413d43feea36f198dfcb (patch) | |
tree | f5348d004f312d20b028665ec0042177678260ac /app/services | |
parent | eceb873c7e4beb353634504d9f77b777db9f4ffd (diff) | |
download | gitlab-ce-55f6eadc1d75c7c6d2c3413d43feea36f198dfcb.tar.gz |
Backport from gitlab-org/gitlab-ee!6878
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 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 |