This commit is contained in:
Nikhil Gupta 2017-05-28 11:39:39 +00:00 committed by GitHub
commit 8051add542
2 changed files with 8 additions and 8 deletions

View file

@ -7,14 +7,6 @@ module Admin
before_action :get_event, except: [:index, :create, :new]
# FIXME: The timezome should only be applied on output, otherwise
# you get lost in timezone conversions...
# around_filter :set_timezone_for_this_request
def set_timezone_for_this_request(&block)
Time.use_zone(@conference.timezone, &block)
end
def index
@events = @program.events
@tracks = @program.tracks