spree-contrib / spree_multi_currency

Provides UI to allow configuring multiple currencies in Spree.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
41 stars 117 forks source link

Fix broken 'current_currency' override #2

Closed jay2u closed 11 years ago

jay2u commented 11 years ago

This fixes the broken 'current_currency' helper caused by the following commit in Spree spree/spree@1dd787fcaa23901d2c4476fe33af648f87f1b636

This patch shifts the 'current_currency' method override to Spree::Core::ControllerHelpers::Order

After updating Spree with the aforementioned commit, I had issues with 'current_currency' returning only the default currency from Spree::Config instead of the selected/set currency this gem provides.

I came across it originally because it is breaking 1-3-stable as well (spree/spree@11df34ada818b9034e95f16e0f691d5c09dd8776)

gmacdougall commented 11 years ago

This should be fixed by the changes merged in Issue #5