This commit is contained in:
Toks
2014-04-28 14:33:13 -04:00
parent a05c51745c
commit b16980be51
2 changed files with 2 additions and 2 deletions

View File

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