gitlab-org--gitlab-foss/app/serializers/container_repositories_seri...

10 lines
217 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ContainerRepositoriesSerializer < BaseSerializer
entity ContainerRepositoryEntity
def represent_read_only(resource)
represent(resource, except: [:destroy_path])
end
end