lib/cas/remote_callbacks.rb in cas-cms-1.0.0.alpha1 vs lib/cas/remote_callbacks.rb in cas-cms-1.0.0.alpha2
- old
+ new
@@ -7,12 +7,12 @@
# small: small_image,
# medium: medium_image,
# big: big_image
# }
#
- # `original` should always be present. If it is not, we will merge it
- # afterwards automatically.
- uploaded_image_versions: ->(io, context) {
+ # `original` should not be present after Shrine 3.0. If it is not, we will
+ # merge it afterwards automatically.
+ uploaded_image_versions: ->(original) {
{}
},
# Class to be called after image was saved.
after_file_upload: ->(file) { }