2020-08-07 21:10:07 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Import::AvailableNamespacesController < ApplicationController
|
2020-10-05 12:08:47 +00:00
|
|
|
feature_category :importers
|
|
|
|
|
2020-08-07 21:10:07 +00:00
|
|
|
def index
|
|
|
|
render json: NamespaceSerializer.new.represent(current_user.manageable_groups_with_routes)
|
|
|
|
end
|
|
|
|
end
|