(function() { scrivito.editors._imgly_asset_path_resolver = function(path) { return <%= ScrivitoEditors::Engine.imgly_assets { |file| image_path(file) }.to_json %>[path]; }; }).call(this);