mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +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
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user