lib/scrivito/binary_routing.rb in scrivito_sdk-1.5.5 vs lib/scrivito/binary_routing.rb in scrivito_sdk-1.6.0.rc1

- old
+ new

@@ -4,10 +4,10 @@ def binary_url(binary) binary_url_from_cache(binary) || binary_redirect_url(binary) end def binary_obj_url(obj, binary, image_options = {}) - binary = if image_options.has_key?(:transform) + binary = if image_options.key?(:transform) apply_custom_transformation(binary, image_options[:transform]) else apply_default_transformation(binary, obj) end binary_url(binary)