1
0
Fork 0
discourse-custom-wizard-unl.../app/controllers/custom_wizard/admin/logs.rb
2022-03-12 14:00:07 +01:00

9 Zeilen
258 B
Ruby

# frozen_string_literal: true
class CustomWizard::AdminLogsController < CustomWizard::AdminController
def index
render_serialized(
CustomWizard::Log.list(params[:page].to_i, params[:limit].to_i),
CustomWizard::LogSerializer
)
end
end