suggest default filename
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@138 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
af2050cede
commit
af01a92e03
|
@ -67,6 +67,7 @@ class GalleriesController < ApplicationController
|
||||||
def download_original
|
def download_original
|
||||||
send_file("#{RAILS_ROOT}/public/images/" +
|
send_file("#{RAILS_ROOT}/public/images/" +
|
||||||
@image.filename_for_version(:original),
|
@image.filename_for_version(:original),
|
||||||
|
:filename => @image.filename_for_version(:original),
|
||||||
:disposition => 'inline', :type => @image.content_type)
|
:disposition => 'inline', :type => @image.content_type)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Reference in New Issue