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
|
||||
send_file("#{RAILS_ROOT}/public/images/" +
|
||||
@image.filename_for_version(:original),
|
||||
:filename => @image.filename_for_version(:original),
|
||||
:disposition => 'inline', :type => @image.content_type)
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue