app/cms/scrivito/controller_actions.rb in scrivito_sdk-1.10.0 vs app/cms/scrivito/controller_actions.rb in scrivito_sdk-1.11.0.rc1
- old
+ new
@@ -166,10 +166,10 @@
# @api public
#
def deliver_file
if binary = @obj.binary
binary_routing = BinaryRouting.new(request, scrivito_engine)
- redirect_to binary_routing.resolved_binary_obj_url(@obj, binary)
+ redirect_to binary_routing.resolved_binary_url(binary)
else
render plain: 'Empty Blob', status: 404
end
end