BathHacked/energy-sparks

View on GitHub
app/controllers/admin/reports/meter_reports_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Admin
  module Reports
    class MeterReportsController < AdminController
      def index
        @school_groups = SchoolGroup.includes(:schools).where.not(schools: { id: nil }).order(:name)
      end
    end
  end
end