sqm-dashboards/app/controllers/home_controller.rb

8 lines
172 B
Ruby

class HomeController < ActionController::Base
def index
@districts = District.all.order(:name)
@schools = School.all
@categories = SqmCategory.all
end
end