Commit 13b281c2e4556dc4ad845271d6ae59d5959aff64
1 parent
b6fdca9c
Exists in
master
and in
4 other branches
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,7 +26,7 @@ module Projects | ||
26 | # Ex. | 26 | # Ex. |
27 | # 'GitLab HQ'.parameterize => "gitlab-hq" | 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 | if namespace_id | 32 | if namespace_id |