Sha256: 50c45919f8146e34bbbbf89294ca9b3fbfcd108f6b5dadc933e24fa2e7b59582
Contents?: true
Size: 386 Bytes
Versions: 205
Compression:
Stored size: 386 Bytes
Contents
# frozen_string_literal: true module Motor class AuditsController < ApiBaseController load_and_authorize_resource :audit def index audits = Motor::ApiQuery.call(@audits, params) render json: { data: Motor::ApiQuery::BuildJson.call(audits, params, current_ability), meta: Motor::ApiQuery::BuildMeta.call(audits, params) } end end end
Version data entries
205 entries across 205 versions & 7 rubygems