diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index fc91c1e5..eff09b35 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,6 +1,6 @@ class HomeController < ApplicationController def index @today = Date.current - @current = Conference.where("start_date >= ?", @today) + @current = Conference.where("end_date >= ?", @today).order("start_date ASC") end end