move line to proper place
This commit is contained in:
parent
77adf17622
commit
ab3b689045
@ -17,8 +17,9 @@ class AmazonCopy
|
||||
videolisting.on_s3 = true
|
||||
videolisting.save
|
||||
end
|
||||
|
||||
end
|
||||
handle_asynchronously :download_video
|
||||
|
||||
|
||||
def download_file_and_upload_to_s3 url, videocode, extension, prefix
|
||||
file = Tempfile.new ["video_", ".#{extension}"], "#{Rails.root}/tmp"
|
||||
@ -36,5 +37,4 @@ class AmazonCopy
|
||||
end
|
||||
end
|
||||
|
||||
handle_asynchronously :download_video
|
||||
end
|
Loading…
Reference in New Issue
Block a user