app/models/distribuo/release.rb in distribuo-0.1.8 vs app/models/distribuo/release.rb in distribuo-0.1.16
- old
+ new
@@ -13,14 +13,14 @@
after_save :set_release_details
def download_url(controller, from_manifest: false)
if app.operating_system == 'ios' && from_manifest == false
url = controller.distribuo.app_release_manifest_url(app_id: app.id, release_id: id, host: controller.request.host,
- protocol: controller.request.protocol, format: :plist)
+ protocol: controller.request.protocol, format: :plist)
"itms-services://?action=download-manifest&url=#{url}"
else
controller.distribuo.app_release_download_url(app, self, host: controller.request.host,
- protocol: controller.request.protocol)
+ protocol: controller.request.protocol)
end
end
private