lib/active_validation/railtie.rb in active_validation-4.0.0 vs lib/active_validation/railtie.rb in active_validation-4.0.1
- old
+ new
@@ -7,13 +7,13 @@
(I18n.load_path << path(locale)) if File.file?(path(locale))
end
end
end
- protected
-
- def path(locale)
+ def self.path(locale)
File.expand_path("../../config/locales/#{locale}.yml", __FILE__)
end
+
+ private_class_method :path
end
end