From 31a3baf2b92da206067b5ef3ba9df41d610fb96c Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 12 Sep 2017 12:09:07 -0700 Subject: [PATCH] enable cropper --- app/models/upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/upload.rb b/app/models/upload.rb index 683820c26..c48ac3ce3 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -142,7 +142,7 @@ class Upload < ApplicationRecord User.where(id: CurrentUser.id).update_all("post_upload_count = post_upload_count + 1") create_artist_commentary(post) if include_artist_commentary? ugoira_service.save_frame_data(post) if is_ugoira? - #notify_cropper(post) + notify_cropper(post) update_attributes(:status => "completed", :post_id => post.id) else update_attribute(:status, "error: " + post.errors.full_messages.join(", "))