Class: Flightdeck::OverviewController

Inherits:
ApplicationController show all
Defined in:
app/controllers/flightdeck/overview_controller.rb

Constant Summary

Constants inherited from ApplicationController

ApplicationController::UNCONFIGURED_MESSAGE

Instance Method Summary collapse

Methods inherited from ApplicationController

host_authenticated?

Instance Method Details

#indexObject



5
6
7
8
9
# File 'app/controllers/flightdeck/overview_controller.rb', line 5

def index
  @overview = Overview.new
  @window = Metrics::Series.window_for(params[:range])
  @series = @overview.series(window: @window.key)
end