9 lines
247 B
Ruby
9 lines
247 B
Ruby
# 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
|