PERF: place letter avatars inside the tmp folder
this avoids transient recoverable data in our uploads directory
This commit is contained in:
parent
f58d85edea
commit
2344aa2fdd
|
@ -28,7 +28,7 @@ class LetterAvatar
|
|||
end
|
||||
|
||||
def cache_path
|
||||
"public/uploads/letter_avatars/#{version}"
|
||||
"tmp/letter_avatars/#{version}"
|
||||
end
|
||||
|
||||
def generate(username, size, opts = nil)
|
||||
|
|
Loading…
Reference in New Issue