Permalink
Browse files

add content_disposition of original app name and file extension

  • Loading branch information...
1 parent 78a534d commit 7e3b691592423f6d04163b24a3c42f1c39ee6aea @micahbrich committed Nov 26, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/glitter.rb
View
@@ -144,6 +144,7 @@ def url
def push
object.content = file
+ object.content_disposition = "attachment; filename=#{app.name}#{File.extname(file.path)}"
object.save
self
end

0 comments on commit 7e3b691

Please sign in to comment.