debian-mirror-gitlab/app/serializers/container_repositories_serializer.rb
2020-03-09 13:42:32 +05:30

10 lines
242 B
Ruby

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