Fixed error on Schedule page
This commit is contained in:
parent
8733300b81
commit
c8661285c7
@ -573,7 +573,7 @@ class ApplicationController < LinguaFrancaApplicationController
|
|||||||
@schedule.each do | day, data |
|
@schedule.each do | day, data |
|
||||||
@schedule[day][:times] = data[:times].sort.to_h
|
@schedule[day][:times] = data[:times].sort.to_h
|
||||||
if do_analyze || @schedule[day][:locations].empty?
|
if do_analyze || @schedule[day][:locations].empty?
|
||||||
@schedule[day][:locations] ||= []
|
@schedule[day][:locations] ||= {}
|
||||||
@schedule[day][:locations][0] = :add
|
@schedule[day][:locations][0] = :add
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user