diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-08-07 15:21:28 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-08-07 16:09:14 +0300 |
commit | 2e6aa4f25e14fa7e57ea9f271e302e291ecc9e05 (patch) | |
tree | 4ff6c04b4871ec10ebe563c1d055a77ac589c495 /app/services/projects/create_service.rb | |
parent | aae947cb1c1252a642e0464c61132ec2e965eb80 (diff) |
After merge cleanup
Diffstat (limited to 'app/services/projects/create_service.rb')
-rw-r--r-- | app/services/projects/create_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/projects/create_service.rb b/app/services/projects/create_service.rb index e874a2d8789..48578b6d9e5 100644 --- a/app/services/projects/create_service.rb +++ b/app/services/projects/create_service.rb @@ -5,6 +5,10 @@ module Projects end def execute + if @params[:template_name]&.present? + return ::Projects::CreateFromTemplateService.new(current_user, params).execute + end + forked_from_project_id = params.delete(:forked_from_project_id) import_data = params.delete(:import_data) @skip_wiki = params.delete(:skip_wiki) |