Created
August 25, 2011 13:21
-
-
Save tombruijn/1170633 to your computer and use it in GitHub Desktop.
Spree i18n config -> When you don't want an error on db:migrate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/initializers/spree_config.rb | |
# Check if Spree::Config is loaded | |
# If you don't you'll get an error on migrate (the first time only) | |
if Spree::Config.instance | |
Spree::Config.set(:default_locale => "nl-NL") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment