summaryrefslogtreecommitdiff
path: root/app/helpers/namespaces_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 18:32:08 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-19 18:32:08 +0300
commitcf8b465cb96f5aa6e53fec60c0d6e62ad1ccbc5e (patch)
treed714e0bae682113f15cc5092ae7c7e45b39581c0 /app/helpers/namespaces_helper.rb
parent6e35aceff29ddeae6282de31e81e48446ab927fa (diff)
downloadgitlab-ce-cf8b465cb96f5aa6e53fec60c0d6e62ad1ccbc5e.tar.gz
Remove Global namespace from options. Prepared file for migration of global projects
Diffstat (limited to 'app/helpers/namespaces_helper.rb')
-rw-r--r--app/helpers/namespaces_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/helpers/namespaces_helper.rb b/app/helpers/namespaces_helper.rb
index 69ad3de5031..a6fcf8d8cf2 100644
--- a/app/helpers/namespaces_helper.rb
+++ b/app/helpers/namespaces_helper.rb
@@ -3,7 +3,6 @@ module NamespacesHelper
groups = current_user.owned_groups.select {|n| n.type == 'Group'}
users = current_user.namespaces.reject {|n| n.type == 'Group'}
- global_opts = ["Global", [['/', Namespace.global_id]] ]
group_opts = ["Groups", groups.sort_by(&:human_name).map {|g| [g.human_name, g.id]} ]
users_opts = [ "Users", users.sort_by(&:human_name).map {|u| [u.human_name, u.id]} ]