Remove hardcoded ID for Australia

This commit is contained in:
Rohan Mitchell
2013-10-11 12:52:49 +11:00
parent c5228c9ad2
commit ba31e5d9fb

View File

@@ -14,7 +14,7 @@ Spree.config do |config|
config.shipping_instructions = true
config.checkout_zone = 'Australia'
config.address_requires_state = true
config.default_country_id = 12 # This should be Australia, see: spree/core/db/default/spree/countries.yml
config.default_country_id = Spree::Country.find_by_name('Australia').id
config.searcher_class = OpenFoodWeb::Searcher