disable uploads for debugging

This commit is contained in:
albert
2013-02-17 12:56:42 -05:00
parent 55e526cdc8
commit af0d02347f
2 changed files with 7 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ class UploadsController < ApplicationController
end
def create
render :nothing => true
return
@upload = Upload.create(params[:upload].merge(:server => Socket.gethostname))
@upload.delay.process!
respond_with(@upload)