debian-mirror-gitlab/app/serializers/container_repositories_serializer.rb
2019-12-26 22:10:19 +05:30

9 lines
217 B
Ruby

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