2013-08-07 16:04:12 -04:00
|
|
|
class Admin::StaffActionLogsController < Admin::AdminController
|
|
|
|
|
|
|
|
def index
|
2015-02-05 14:34:57 -05:00
|
|
|
filters = params.slice(*UserHistory.staff_filters)
|
|
|
|
staff_action_logs = UserHistory.staff_action_records(current_user, filters).to_a
|
2013-09-10 21:21:16 -04:00
|
|
|
render_serialized(staff_action_logs, UserHistorySerializer)
|
2013-08-07 16:04:12 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|