From 95eb5043e2fcf4c1e27efae68c39892d3eeb07da Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 18 Jan 2014 15:54:53 +0100 Subject: [PATCH] https: Point to the logo using https instead of http This is needed to not have paypal's checkout patch fetch from a http source during checkout. --- app/controllers/spree/checkout_controller_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/spree/checkout_controller_decorator.rb b/app/controllers/spree/checkout_controller_decorator.rb index bee8bcf..7d4c293 100644 --- a/app/controllers/spree/checkout_controller_decorator.rb +++ b/app/controllers/spree/checkout_controller_decorator.rb @@ -201,7 +201,7 @@ module Spree private def asset_url(_path) - URI::HTTP.build(:path => ActionController::Base.helpers.asset_path(_path), :host => Spree::Config[:site_url].strip).to_s + URI::HTTPS.build(:path => ActionController::Base.helpers.asset_path(_path), :host => Spree::Config[:site_url].strip).to_s end def record_log(payment, response)