parent
ec8fbb21d7
commit
c929d8e68b
1 changed files with 4 additions and 4 deletions
|
|
@ -21,10 +21,10 @@ class SchedulesController < ApplicationController
|
||||||
# the schedule takes you to today if it is a date of the schedule
|
# the schedule takes you to today if it is a date of the schedule
|
||||||
@current_day = @conference.current_conference_day
|
@current_day = @conference.current_conference_day
|
||||||
@day = @current_day.present? ? @current_day : @dates.first
|
@day = @current_day.present? ? @current_day : @dates.first
|
||||||
return unless @current_day
|
unless @current_day
|
||||||
# the schedule takes you to the current time if it is beetween the start and the end time.
|
# the schedule takes you to the current time if it is beetween the start and the end time.
|
||||||
@hour_column = @conference.hours_from_start_time(@conf_start, @conference.end_hour)
|
@hour_column = @conference.hours_from_start_time(@conf_start, @conference.end_hour)
|
||||||
|
end
|
||||||
# Ids of the schedules of confrmed self_organized tracks along with the selected_schedule_id
|
# Ids of the schedules of confrmed self_organized tracks along with the selected_schedule_id
|
||||||
@selected_schedules_ids = [@conference.program.selected_schedule_id]
|
@selected_schedules_ids = [@conference.program.selected_schedule_id]
|
||||||
@conference.program.tracks.self_organized.confirmed.each do |track|
|
@conference.program.tracks.self_organized.confirmed.each do |track|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue