Commit 13b281c2e4556dc4ad845271d6ae59d5959aff64

Authored by Dmitriy Zaporozhets
1 parent b6fdca9c

Allow project path being passed on project creation

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/contexts/projects/create_context.rb
... ... @@ -26,7 +26,7 @@ module Projects
26 26 # Ex.
27 27 # 'GitLab HQ'.parameterize => "gitlab-hq"
28 28 #
29   - @project.path = @project.name.dup.parameterize
  29 + @project.path = @project.name.dup.parameterize unless @project.path.present?
30 30  
31 31  
32 32 if namespace_id
... ...