Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

SDP-296 Update gems #101

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

tomurb
Copy link

@tomurb tomurb commented May 29, 2020

this branch is being used by spree-multi-store-demo app

@@ -5,7 +5,8 @@ def self.included(receiver)
end

def supported_currencies
Spree::Config[:supported_currencies].split(',').map { |code| ::Money::Currency.find(code.strip) }
@supported_currencies ||= Spree::Store.pluck(:default_currency).uniq.compact.map { |code| ::Money::Currency.find(code.strip) }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [132/80]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants