diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-14 12:44:54 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-14 12:44:54 +0300 |
commit | 13b281c2e4556dc4ad845271d6ae59d5959aff64 (patch) | |
tree | 003c477c6c71a4e0757116ac795516300d1d123e /app/contexts | |
parent | b6fdca9c81e617062f86bcd3a1d4d35f058faad1 (diff) | |
download | gitlab-ce-13b281c2e4556dc4ad845271d6ae59d5959aff64.tar.gz |
Allow project path being passed on project creation
Diffstat (limited to 'app/contexts')
-rw-r--r-- | app/contexts/projects/create_context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/contexts/projects/create_context.rb b/app/contexts/projects/create_context.rb index 4eb4d2cb251..1ee3e459074 100644 --- a/app/contexts/projects/create_context.rb +++ b/app/contexts/projects/create_context.rb @@ -26,7 +26,7 @@ module Projects # Ex. # 'GitLab HQ'.parameterize => "gitlab-hq" # - @project.path = @project.name.dup.parameterize + @project.path = @project.name.dup.parameterize unless @project.path.present? if namespace_id |