Dashboard/app/controllers/dashboard/analyze_controller.rb
2024-01-26 07:43:52 -08:00

10 lines
326 B
Ruby

# frozen_string_literal: true
module Dashboard
class AnalyzeController < SqmApplicationController
def index
@presenter = Analyze::Presenter.new(params:, school: @school, academic_year: @academic_year)
@background ||= BackgroundPresenter.new(num_of_columns: @presenter.graph.columns.count)
end
end
end