rename ref and url fields to upload_source and upload_referer_url

This commit is contained in:
Albert Yi
2018-08-29 16:46:04 -07:00
parent 692c3ddac8
commit 64c3bc18a7
3 changed files with 4 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ class UploadsController < ApplicationController
def preprocess
@upload, @post, @source, @remote_size = UploadService::ControllerHelper.prepare(
url: params[:url], file: params[:file], ref: params[:ref]
url: upload_params[:source], file: upload_params[:file], ref: upload_params[:referer_url]
)
render body: nil
end