Class: RailsVitals::HeatmapController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RailsVitals::HeatmapController
- Includes:
- Calculable
- Defined in:
- app/controllers/rails_vitals/heatmap_controller.rb
Instance Method Summary collapse
Methods included from Calculable
Instance Method Details
#index ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/rails_vitals/heatmap_controller.rb', line 4 def index records = RailsVitals.store.all @heatmap = build_heatmap(records) @total = records.size end |