welcome_controller.rb 256 Bytes
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: