config/initializers/zoned_init.rb in spree_zoned-0.5.25 vs config/initializers/zoned_init.rb in spree_zoned-0.5.26
- old
+ new
@@ -26,12 +26,12 @@
{
-214 => [:en], # United States
-74 => [:de, :en], # Germany
-13 => [:de, :en], # Austria
-195 => [:de, :en], # Switzerland
- -142 => [:nl, :en], # Netherlands
- -20 => [:nl, :de, :en], # Belgium
- -117 => [:de, :en, :nl], # Luxembourg
+ -142 => [:'nl-NL', :en], # Netherlands
+ -20 => [:'nl-NL', :de, :en], # Belgium
+ -117 => [:de, :en, :'nl-NL'], # Luxembourg
}
Rails.configuration.commonCountriesForSelect = ZONED_COMMON_COUNTRIES.map do |id|
[ Spree::Country.find_by_id(id).name, -id ]
end