Class: Api::V2::Compliance::ScapContentProfilesController
- Inherits:
-
BaseController
- Object
- BaseController
- Api::V2::Compliance::ScapContentProfilesController
- Includes:
- ForemanOpenscap::Api::V2::ScapApiControllerExtensions
- Defined in:
- app/controllers/api/v2/compliance/scap_content_profiles_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
10 11 12 |
# File 'app/controllers/api/v2/compliance/scap_content_profiles_controller.rb', line 10 def index @scap_content_profiles = resource_scope_for_index(:permission => :view_scap_contents).includes(:scap_content, :tailoring_file) end |