Sha256: cea4a0b359be65bcc20ac11b823d1371424d58881e1f3f257314ffa7539283a1
Contents?: true
Size: 642 Bytes
Versions: 33
Compression:
Stored size: 642 Bytes
Contents
module Katello class Api::V2::DockerManifestsController < Api::V2::ApiController apipie_concern_subst(:a_resource => N_("a docker manifest"), :resource => "docker_manifests") include Katello::Concerns::Api::V2::RepositoryContentController private def resource_class DockerManifest end def filter_by_content_view_filter(filter) resource_class.where(:uuid => filter.send("#{singular_resource_name}_rules").pluck(:uuid)) end def custom_index_relation(collection) collection.includes(:docker_tags) end def default_sort lambda { |query| query.default_sort } end end end
Version data entries
33 entries across 33 versions & 1 rubygems