the uploaded theme was not correctly copied (issue with Heroku)

This commit is contained in:
dinedine 2010-10-18 15:08:47 +02:00
parent dffec0731e
commit c86ea8b3ca
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module Admin
def store_zipfile!
file = CarrierWave::SanitizedFile.new(params[:zipfile])
file.move_to(File.join(Rails.root, 'tmp', 'files', current_site.id.to_s))
file.copy_to(File.join(Rails.root, 'tmp', 'files', current_site.id.to_s, file.filename))
file.path
end

View File

@ -12,6 +12,7 @@ BOARD:
- global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating)
- write my first tutorial about locomotive
- rewrite the unzip process (for the import)
- refactor slugify method (use parameterize + create a module)
- [content types] the "display column" selector should not include file types