2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

FEATURE: new rake task to clean up uploads & thumbnails

This commit is contained in:
Régis Hanol 2014-09-29 18:31:53 +02:00
parent 5d91a4ef0c
commit 652cc3efba
8 changed files with 76 additions and 39 deletions

View file

@ -84,7 +84,6 @@ class UserAvatarsController < ApplicationController
end
end
# this protects us from a DoS
def render_dot
expires_in 10.minutes, public: true