Change
This commit is contained in:
parent
8fac294d04
commit
95ede63220
|
@ -71,7 +71,7 @@ class AttachmentsController < ApplicationController
|
||||||
@attachment.digest = digest
|
@attachment.digest = digest
|
||||||
@attachment.author_id = current_user.id
|
@attachment.author_id = current_user.id
|
||||||
@attachment.disk_directory = month_folder
|
@attachment.disk_directory = month_folder
|
||||||
@attachment.cloud_url = remote_path
|
# @attachment.cloud_url = remote_path
|
||||||
# @attachment.save!
|
# @attachment.save!
|
||||||
if @attachment.save!
|
if @attachment.save!
|
||||||
check_result = Attachment.check_image_able(dun_check_file)
|
check_result = Attachment.check_image_able(dun_check_file)
|
||||||
|
|
Loading…
Reference in New Issue