Skip to content
Browse files

only enforcing available locales if it is available

  • Loading branch information...
1 parent 04bc279 commit a1dd67e95b2597d18dd285f3f510d432676fb5b5 @cheezy committed Mar 2, 2014
Showing with 5 additions and 1 deletion.
  1. +4 −0 ChangeLog
  2. +1 −1 lib/data_magic.rb
View
4 ChangeLog
@@ -1,3 +1,7 @@
+=== Version 0.18
+* Fixes
+ * Only forcing available locales if it is available
+
=== Version 0.17 / 2014-1-22
* Fixes
* Eliminated the deprecation message from I18n
View
2 lib/data_magic.rb
@@ -10,7 +10,7 @@ module DataMagic
attr_reader :parent
- I18n.enforce_available_locales = false
+ I18n.enforce_available_locales = false if I18n.enforce_available_locales
def self.included(cls)
@parent = cls

0 comments on commit a1dd67e

Please sign in to comment.
Something went wrong with that request. Please try again.