Class: RailsPulse::RequestsController
Constant Summary
collapse
- TIME_RANGE_OPTIONS =
[
[ "Recent", "recent" ],
[ "Custom Range", "custom" ]
].freeze
Instance Method Summary
collapse
#set_global_filters, #set_pagination_limit
Instance Method Details
#index ⇒ Object
15
16
17
18
|
# File 'app/controllers/rails_pulse/requests_controller.rb', line 15
def index
setup_metric_cards
setup_chart_and_table_data
end
|
#show ⇒ Object
20
21
22
|
# File 'app/controllers/rails_pulse/requests_controller.rb', line 20
def show
@operation_timeline = RailsPulse::Charts::OperationsChart.new(@request.operations)
end
|