Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-27 10:31:15 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-27 10:31:15 +0400
commitf5551efdfd71c6aedb609093374a6c4dbed6a78b (patch)
tree226bcf5561a02cea3c1b95339f7063a389cb7bf4 /app/controllers/admin/groups_controller.rb
parent70bf7f6e191c0e99ad03e1eec2ecbe2aae53fa09 (diff)
Rewrite and improve git backend logic. Fix project movind. Raise exception to prevent unexpected issues
Diffstat (limited to 'app/controllers/admin/groups_controller.rb')
-rw-r--r--app/controllers/admin/groups_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb
index c57fe4fd6c3..8a0a9e9b245 100644
--- a/app/controllers/admin/groups_controller.rb
+++ b/app/controllers/admin/groups_controller.rb
@@ -22,6 +22,7 @@ class Admin::GroupsController < AdminController
def create
@group = Group.new(params[:group])
+ @group.path = @group.name.dup.parameterize if @group.name
@group.owner = current_user
if @group.save