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: 7983b4f20b54e9e72281f626296c5df3453954cf (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

class Import::AvailableNamespacesController < ApplicationController
  def index
    render json: NamespaceSerializer.new.represent(current_user.manageable_groups_with_routes)
  end
end