From 95ede63220bc38358497011f43fb4b2c52e89629 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Wed, 19 Aug 2020 17:58:04 +0800 Subject: [PATCH] Change --- app/controllers/attachments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 28731a43..e01ef774 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -71,7 +71,7 @@ class AttachmentsController < ApplicationController @attachment.digest = digest @attachment.author_id = current_user.id @attachment.disk_directory = month_folder - @attachment.cloud_url = remote_path + # @attachment.cloud_url = remote_path # @attachment.save! if @attachment.save! check_result = Attachment.check_image_able(dun_check_file)