* First draft - all the big changes * Changing some more references to 'internal' * Relocate internal request tests to admin * Relocate internal system tests to admin * Fix trailing space * Test fix * Move queries from internal to admin * Docs updates * Rename internal stimuls controllers to admin (plus docs) * Rename admin layout * Fix routing after rebase * Fixes for latest added admin interfaces * Serviceworker ignore paths
14 lines
357 B
Ruby
14 lines
357 B
Ruby
module Admin
|
|
class ModeratorActionsController < Admin::ApplicationController
|
|
layout "admin"
|
|
|
|
def index
|
|
@q = AuditLog
|
|
.includes(:user)
|
|
.where(category: "moderator.audit.log")
|
|
.order(created_at: :desc)
|
|
.ransack(params[:q])
|
|
@moderator_actions = @q.result.page(params[:page] || 1).per(25)
|
|
end
|
|
end
|
|
end
|