diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-19 18:32:08 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-19 18:32:08 +0300 |
commit | cf8b465cb96f5aa6e53fec60c0d6e62ad1ccbc5e (patch) | |
tree | d714e0bae682113f15cc5092ae7c7e45b39581c0 /app/helpers/namespaces_helper.rb | |
parent | 6e35aceff29ddeae6282de31e81e48446ab927fa (diff) | |
download | gitlab-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.rb | 1 |
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]} ] |