You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
256 B
9 lines
256 B
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:
|