5
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'app/controllers/solid_ops/events_controller.rb', line 5
def index
scope = SolidOps::Event.all
scope = scope.for_type(params[:event_type])
scope = scope.for_correlation(params[:correlation_id])
scope = scope.for_request(params[:request_id])
scope = scope.for_tenant(params[:tenant_id])
scope = scope.for_actor(params[:actor_id])
scope = scope.search_name(params[:q])
scope = scope.since(parse_time(params[:since]))
scope = scope.before(parse_time(params[:before]))
@events = paginate(scope.recent)
end
|