Class: ActiveInsights::RequestsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ActiveInsights::RequestsController
- Defined in:
- app/controllers/active_insights/requests_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/active_insights/requests_controller.rb', line 5 def index @requests = base_request_scope.with_durations.select(:formatted_controller). group(:formatted_controller).sort_by(&:agony).reverse end |