move line to proper place

This commit is contained in:
Tyrel Souza 2014-05-29 16:44:23 -04:00
parent 77adf17622
commit ab3b689045

View File

@ -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