diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-22 13:50:58 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-22 13:50:58 +0200 |
commit | ed2bcf952be8e6431ad5d3fb7b39927880b512b0 (patch) | |
tree | 219bc66aa9a33fca6e020facd215d348a7af8adc /app/controllers | |
parent | 59bb635e0e94a0e6c61a0c53cdb70a4eb7bd3910 (diff) | |
download | gitlab-ce-ed2bcf952be8e6431ad5d3fb7b39927880b512b0.tar.gz |
Set group path during creation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 36222758eb2..1ea2a2a8c18 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -23,7 +23,7 @@ class GroupsController < ApplicationController def create @group = Group.new(group_params) - @group.path = @group.name.dup.parameterize if @group.name + @group.name = @group.path.dup unless @group.name if @group.save @group.add_owner(current_user) |