Strip all potential blank characters from Spree::Config[:site_url] inside asset_url method
This commit is contained in:
parent
a95329aa9e
commit
5a048d4449
|
@ -177,7 +177,7 @@ module Spree
|
||||||
private
|
private
|
||||||
|
|
||||||
def asset_url(_path)
|
def asset_url(_path)
|
||||||
URI::HTTP.build(:path => ActionController::Base.helpers.asset_path(_path), :host => Spree::Config[:site_url]).to_s
|
URI::HTTP.build(:path => ActionController::Base.helpers.asset_path(_path), :host => Spree::Config[:site_url].strip).to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def record_log(payment, response)
|
def record_log(payment, response)
|
||||||
|
|
Loading…
Reference in New Issue