mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-06 18:35:41 +03:00
Правим опечатки
This commit is contained in:
@@ -107,7 +107,7 @@ module Paperclip
|
||||
end
|
||||
end
|
||||
|
||||
delegate :synced_to_s3_field, :synced_to_fog_field, :synced_to_yandex_field, :synced_to_sbercloud_field to: :class
|
||||
delegate :synced_to_s3_field, :synced_to_fog_field, :synced_to_yandex_field, :synced_to_sbercloud_field, to: :class
|
||||
|
||||
def initialize(*)
|
||||
super
|
||||
@@ -344,8 +344,7 @@ module Paperclip
|
||||
else raise 'Unknown store id'
|
||||
end
|
||||
instance.reload
|
||||
delete_local_files! if instance_read(:synced_to_fog) && instance_read(:synced_to_yandex)
|
||||
&& instance_read(:synced_to_sbercloud)
|
||||
delete_local_files! if instance_read(:synced_to_fog) && instance_read(:synced_to_yandex) && instance_read(:synced_to_sbercloud)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user