Browse Source

Change

pull/278/head
sylor_huang@126.com 5 years ago
parent
commit
95ede63220
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/attachments_controller.rb

+ 1
- 1
app/controllers/attachments_controller.rb View File

@@ -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)


Loading…
Cancel
Save