2020-10-24 23:57:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Import::AvailableNamespacesController < ApplicationController
|
2021-01-03 14:25:43 +05:30
|
|
|
feature_category :importers
|
2022-07-16 23:28:13 +05:30
|
|
|
urgency :low
|
2021-01-03 14:25:43 +05:30
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
def index
|
2021-10-27 15:23:28 +05:30
|
|
|
render json: NamespaceSerializer.new.represent(current_user.manageable_groups_with_routes(include_groups_with_developer_maintainer_access: true))
|
2020-10-24 23:57:45 +05:30
|
|
|
end
|
|
|
|
end
|