mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
proper content-disposition header when downloading attachments
This commit is contained in:
5
db/migrate/20130906171631_add_index_to_uploads.rb
Normal file
5
db/migrate/20130906171631_add_index_to_uploads.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddIndexToUploads < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :uploads, [:id, :url]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user