Class: SaasPlatform::AuditLogsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- SaasPlatform::AuditLogsController
- Defined in:
- app/controllers/saas_platform/audit_logs_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/saas_platform/audit_logs_controller.rb', line 7 def index @versions = PaperTrail::Version.where(item_type: ['SaasPlatform::User', 'SaasPlatform::Wallet', 'SaasPlatform::Order']) .order(created_at: :desc) .page(params[:page]) end |