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
|
||||
|
||||
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
|
||||
|
||||
def record_log(payment, response)
|
||||
|
|
Loading…
Reference in New Issue