From ac238d9f892388f4ad2ce2f2f081cb5de5e29ed9 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 6 Jan 2013 16:42:52 -0500 Subject: [PATCH] fix --- app/models/upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/upload.rb b/app/models/upload.rb index 2491049cf..c5e69adb8 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -217,7 +217,7 @@ class Upload < ActiveRecord::Base def ssd_file_path prefix = Rails.env == "test" ? "test." : "" - "#{Rails.root}/public/ssd/data/#{prefix}#{md5}.#{file_ext}" + "#{Rails.root}/public/ssd/data/preview/#{prefix}#{md5}.#{file_ext}" end def resized_file_path_for(width)