Skip to content

Commit

Permalink
Wizard#logo use image_path over image_url.
Browse files Browse the repository at this point in the history
- `image_path` computes the asset path including configured asset host
  and digest. This fixes an issue where compiled assets and assets
  stored in a CDN where not referenced correctly.
  • Loading branch information
essn committed May 27, 2021
1 parent d99e426 commit fcfada3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/solidus_paypal_commerce_platform/wizard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def nonce
private

def logo
ActionController::Base.helpers.image_url(::Spree::Config[:admin_interface_logo])
ActionController::Base.helpers.image_path(::Spree::Config[:admin_interface_logo])
end
end
end

0 comments on commit fcfada3

Please sign in to comment.