From af01a92e0344e21aa39a786c19851f4d88c66014 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 5 Feb 2008 01:42:08 +0000 Subject: [PATCH] suggest default filename git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@138 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/controllers/galleries_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 5f01abe..d003717 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -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