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
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue