save to 'files' to make scanning easier

master
Espen Antonsen 2011-04-11 15:55:18 +08:00
parent 0bfde95476
commit 7d88a531f0
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class FileUploader < CarrierWave::Uploader::Base
# This is a sensible default for uploaders that are meant to be mounted:
def store_dir
#{}"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
ENV['STORAGE_PATH'] + "/#{model.album.path}"
ENV['STORAGE_PATH'] + "/files/#{model.album.path}"
end
# Provide a default URL as a default if there hasn't been a file uploaded