From 2344aa2fddd3a5b6d665ed377e6d261c53654f70 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 5 May 2015 15:58:49 +1000 Subject: [PATCH] PERF: place letter avatars inside the tmp folder this avoids transient recoverable data in our uploads directory --- lib/letter_avatar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/letter_avatar.rb b/lib/letter_avatar.rb index 75708e25465..3b1f789120c 100644 --- a/lib/letter_avatar.rb +++ b/lib/letter_avatar.rb @@ -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)