Sha256: 87f13686fd93a7bf3b88d9d74a296355706afc9cc4d07c235bc295c6127f6a76
Contents?: true
Size: 292 Bytes
Versions: 15
Compression:
Stored size: 292 Bytes
Contents
module Katello module Concerns module DashboardHelperExtensions def host_query ::Host::Managed.authorized('view_hosts', ::Host::Managed).where(:organization => Organization.current) end def total_host_count host_query.size end end end end
Version data entries
15 entries across 15 versions & 1 rubygems