This commit is contained in:
albert
2013-03-22 09:11:24 -07:00
parent 4c93154569
commit eae5280091
2 changed files with 2 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ class UploadsController < ApplicationController
def create
@upload = Upload.create(params[:upload].merge(:server => Socket.gethostname))
@upload.process! if @upload.errors.empty?
@upload.process! if @upload.errors.empty?
respond_with(@upload)
end