mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
remove discourse stylesheets const warning when auto-reloading
This commit is contained in:
@ -3,9 +3,9 @@ require_dependency 'distributed_cache'
|
||||
|
||||
class DiscourseStylesheets
|
||||
|
||||
CACHE_PATH = 'uploads/stylesheet-cache'
|
||||
MANIFEST_DIR = "#{Rails.root}/tmp/cache/assets/#{Rails.env}"
|
||||
MANIFEST_FULL_PATH = "#{MANIFEST_DIR}/stylesheet-manifest"
|
||||
CACHE_PATH ||= 'uploads/stylesheet-cache'
|
||||
MANIFEST_DIR ||= "#{Rails.root}/tmp/cache/assets/#{Rails.env}"
|
||||
MANIFEST_FULL_PATH ||= "#{MANIFEST_DIR}/stylesheet-manifest"
|
||||
|
||||
@lock = Mutex.new
|
||||
|
||||
|
Reference in New Issue
Block a user