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