mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 00:35:50 +00:00
remove discourse stylesheets const warning when auto-reloading
This commit is contained in:
parent
e9d5c5c0a8
commit
f82e8ce5f1
@ -3,9 +3,9 @@ require_dependency 'distributed_cache'
|
|||||||
|
|
||||||
class DiscourseStylesheets
|
class DiscourseStylesheets
|
||||||
|
|
||||||
CACHE_PATH = 'uploads/stylesheet-cache'
|
CACHE_PATH ||= 'uploads/stylesheet-cache'
|
||||||
MANIFEST_DIR = "#{Rails.root}/tmp/cache/assets/#{Rails.env}"
|
MANIFEST_DIR ||= "#{Rails.root}/tmp/cache/assets/#{Rails.env}"
|
||||||
MANIFEST_FULL_PATH = "#{MANIFEST_DIR}/stylesheet-manifest"
|
MANIFEST_FULL_PATH ||= "#{MANIFEST_DIR}/stylesheet-manifest"
|
||||||
|
|
||||||
@lock = Mutex.new
|
@lock = Mutex.new
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user