welcome_controller.rb 256 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 class WelcomeController < ApplicationController def index @projects = Gitlab::Project.all @namespaces = @projects.map { |project| project.namespace if project.namespace }.uniq.sort { |a,b| a['name'] <=> b['name'] } end end # vim: set ts=2 sw=2: