Add new styles to be checked

This commit is contained in:
Artem Chernikov 2014-07-30 23:43:00 +02:00
parent 6e7e0c2cd3
commit eb127b4f8c
4 changed files with 7 additions and 13 deletions

View file

@ -7,7 +7,7 @@ class ScheduleController < ApplicationController
@events = @conference.events
@dates = @conference.start_date..@conference.end_date
if @dates === Date.current
if @dates == Date.current
@today = Date.current.strftime("%Y-%m-%d")
else
@today = @conference.start_date.strftime("%Y-%m-%d")