mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Bump rubocop_discourse (#29608)
This commit is contained in:
committed by
GitHub
parent
ff494f2f94
commit
57f4176b57
@@ -189,8 +189,8 @@ module FileStore
|
||||
get_path_for("optimized", upload.id, upload.sha1, extension)
|
||||
end
|
||||
|
||||
CACHE_DIR ||= "#{Rails.root}/tmp/download_cache/"
|
||||
CACHE_MAXIMUM_SIZE ||= 500
|
||||
CACHE_DIR = "#{Rails.root}/tmp/download_cache/"
|
||||
CACHE_MAXIMUM_SIZE = 500
|
||||
|
||||
def get_cache_path_for(filename)
|
||||
"#{CACHE_DIR}#{filename}"
|
||||
|
||||
Reference in New Issue
Block a user