Sha256: 3dacfc9e941b956c8aa47fc5757b7761360078e0b9401aa32b3e94f643f621a0
Contents?: true
Size: 484 Bytes
Versions: 13
Compression:
Stored size: 484 Bytes
Contents
module Katello class Api::V2::HostAutocompleteController < ::Api::V2::BaseController include ::Api::TaxonomyScope include Foreman::Controller::AutoCompleteSearch before_filter :find_optional_nested_object resource_description do api_version 'v2' api_base_url "/api" end def resource_name(_resource = nil) 'host' end def model_of_controller ::Host::Managed end def action_permission 'view' end end end
Version data entries
13 entries across 13 versions & 1 rubygems