diff --git a/app/controllers/conference_controller.rb b/app/controllers/conference_controller.rb index 3e05fa57..039220f8 100644 --- a/app/controllers/conference_controller.rb +++ b/app/controllers/conference_controller.rb @@ -5,7 +5,7 @@ class ConferenceController < ApplicationController load_resource :program, through: :conference, singleton: true, except: :index def index - @current = Conference.where('end_date >= ?', Date.current).order('start_date ASC') + @current = Conference.where('end_date >= ?', Date.current).reorder(start_date: :asc) @antiquated = @conferences - @current end