diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index e3c50f6..50ceda4 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -573,7 +573,7 @@ class ApplicationController < LinguaFrancaApplicationController @schedule.each do | day, data | @schedule[day][:times] = data[:times].sort.to_h if do_analyze || @schedule[day][:locations].empty? - @schedule[day][:locations] ||= [] + @schedule[day][:locations] ||= {} @schedule[day][:locations][0] = :add end