summaryrefslogtreecommitdiff
path: root/app/controllers/import/available_namespaces_controller.rb
blob: 0c2af13d3f3579c037e906dff8b949f3638854fe (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(include_groups_with_developer_maintainer_access: true))
  end
end