Sha256: 7ef713a7e4df276760daa8a41322c750fa6e3850adb80b3b523f19e4142f15d3
Contents?: true
Size: 556 Bytes
Versions: 9
Compression:
Stored size: 556 Bytes
Contents
module Katello class Api::V2::DockerImagesController < Api::V2::ApiController apipie_concern_subst(:a_resource => N_("a docker image"), :resource => "docker_images") include Katello::Concerns::Api::V2::RepositoryContentController private def resource_class DockerImage 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 end end
Version data entries
9 entries across 9 versions & 1 rubygems