FIX: Make rake site:export_structure export uploads (#13938)
It failed because of an undefined variable.
This commit is contained in:
parent
4122affc0f
commit
e2af2a2219
|
@ -47,7 +47,7 @@ class ZippedSiteStructure
|
|||
puts " - Exporting upload #{upload_or_id_or_url} to #{zip_path}"
|
||||
@zip.add(zip_path, local_path)
|
||||
|
||||
{ filename: upload.original_filename, path: file_zip_path }
|
||||
{ filename: upload.original_filename, path: zip_path }
|
||||
end
|
||||
|
||||
def get_upload(upload, opts = {})
|
||||
|
|
Loading…
Reference in New Issue