Skip to content

Commit

Permalink
add content_disposition of original app name and file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
micahbrich committed Nov 26, 2011
1 parent 78a534d commit 7e3b691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/glitter.rb
Expand Up @@ -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
Expand Down

0 comments on commit 7e3b691

Please sign in to comment.