updates from production: fix user.time_zone, precompile assets
This commit is contained in:
@ -319,7 +319,7 @@ class ApplicationController < ActionController::Base
|
||||
elsif params[:offset].present?
|
||||
Time.zone = set_timezone_from_offset(params[:offset])
|
||||
elsif current_user.present?
|
||||
Time.zone = current_user.time_zone
|
||||
Time.zone = current_user.time_zone_or_utc
|
||||
else
|
||||
Time.zone = 'UTC'
|
||||
end
|
||||
|
@ -23,6 +23,7 @@ class DocsController < ApplicationController
|
||||
|
||||
def errors; ; end
|
||||
def tweetcontrol; ; end
|
||||
def timecontrol; ; end
|
||||
def plugins; ; end
|
||||
def importer; ; end
|
||||
def charts; ; end
|
||||
|
Reference in New Issue
Block a user