no cache headers

This commit is contained in:
Kyle Drake 2016-07-29 14:51:33 -07:00
parent 4ca2e3f443
commit 23b5ba2883
2 changed files with 4 additions and 0 deletions

View file

@ -154,6 +154,7 @@ end
get %r{\/site_files\/download\/(.+)} do
require_login
dont_browser_cache
not_found if params[:captures].nil? || params[:captures].length != 1
filename = params[:captures].first
attachment filename