sqm-dashboards/app/controllers/home_controller.rb

6 lines
137 B
Ruby

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