updates from production: fix user.time_zone, precompile assets

This commit is contained in:
Lee Lawlor
2014-09-26 13:47:57 -04:00
parent 85056c9d17
commit cc7114f37e
12 changed files with 116 additions and 14 deletions

View File

@ -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

View File

@ -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