Class: Api::V1::AuditsController

Inherits:
BaseController show all
Defined in:
app/controllers/api/v1/audits_controller.rb

Instance Method Summary collapse

Methods included from Api::Version1

#api_version

Methods inherited from BaseController

#get_resource, #resource_class, #resource_name, #resource_scope

Methods included from Foreman::ThreadSession::Cleaner

#clear_thread, included

Instance Method Details

#indexObject


14
15
16
# File 'app/controllers/api/v1/audits_controller.rb', line 14

def index
  Audit.unscoped { @audits = Audit.search_for(*search_options).paginate(paginate_options) }
end

#showObject


21
22
# File 'app/controllers/api/v1/audits_controller.rb', line 21

def show
end