proper content-disposition header when downloading attachments

This commit is contained in:
Régis Hanol
2013-09-06 19:18:42 +02:00
parent eae7e75611
commit 45b838009c
8 changed files with 94 additions and 42 deletions

View File

@@ -0,0 +1,5 @@
class AddIndexToUploads < ActiveRecord::Migration
def change
add_index :uploads, [:id, :url]
end
end