class ForemanSalt::Api::V2::SaltAutosignController
def find_host
def find_host @host = resource_finder(Host.authorized(:view_hosts), params[:name]) not_found unless @host end
def find_host @host = resource_finder(Host.authorized(:view_hosts), params[:name]) not_found unless @host end