the uploaded theme was not correctly copied (issue with Heroku)
This commit is contained in:
parent
dffec0731e
commit
c86ea8b3ca
@ -43,7 +43,7 @@ module Admin
|
|||||||
|
|
||||||
def store_zipfile!
|
def store_zipfile!
|
||||||
file = CarrierWave::SanitizedFile.new(params[: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
|
file.path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
1
doc/TODO
1
doc/TODO
@ -12,6 +12,7 @@ BOARD:
|
|||||||
- global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating)
|
- global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating)
|
||||||
- write my first tutorial about locomotive
|
- write my first tutorial about locomotive
|
||||||
|
|
||||||
|
- rewrite the unzip process (for the import)
|
||||||
|
|
||||||
- refactor slugify method (use parameterize + create a module)
|
- refactor slugify method (use parameterize + create a module)
|
||||||
- [content types] the "display column" selector should not include file types
|
- [content types] the "display column" selector should not include file types
|
||||||
|
Loading…
Reference in New Issue
Block a user