class AttendanceTrackerController < ApplicationController def index @courses = Course.all.sort_by(&:name) end end