Welcome to mirror list, hosted at ThFree Co, Russian Federation.

available_namespaces_controller.rb « import « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c6211b33d28f5f56976293b0f9de9261ba6d718f (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class Import::AvailableNamespacesController < ApplicationController
  feature_category :importers

  def index
    render json: NamespaceSerializer.new.represent(current_user.manageable_groups_with_routes)
  end
end