lib/dry/schema/messages/i18n.rb in dry-schema-1.0.3 vs lib/dry/schema/messages/i18n.rb in dry-schema-1.1.0
- old
+ new
@@ -53,10 +53,10 @@
prepare(paths)
end
# @api private
def default_locale
- I18n.locale || I18n.default_locale || super
+ super || I18n.locale || I18n.default_locale
end
# @api private
def prepare(paths = config.load_paths)
paths.each do |path|