PERF: place letter avatars inside the tmp folder

this avoids transient recoverable data in our uploads directory
This commit is contained in:
Sam 2015-05-05 15:58:49 +10:00
parent f58d85edea
commit 2344aa2fdd
1 changed files with 1 additions and 1 deletions

View File

@ -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)