Module: ForemanAnsible::Concerns::ImportControllerHelper
- Extended by:
- ActiveSupport::Concern
- Included in:
- AnsibleRolesController, AnsibleVariablesController
- Defined in:
- app/controllers/foreman_ansible/concerns/import_controller_helper.rb
Overview
Helpers to select proxy and call ProxyAPI
Instance Method Summary collapse
Instance Method Details
#find_proxy ⇒ Object
18 19 20 21 |
# File 'app/controllers/foreman_ansible/concerns/import_controller_helper.rb', line 18 def find_proxy return nil unless params[:proxy] @proxy = SmartProxy.find(params[:proxy]) end |