lib/rodauth/oauth.rb in rodauth-oauth-0.6.1 vs lib/rodauth/oauth.rb in rodauth-oauth-0.7.0
- old
+ new
@@ -3,5 +3,7 @@
require "rodauth"
require "rodauth/oauth/version"
require "rodauth/oauth/railtie" if defined?(Rails)
+
+Rodauth::I18n.directories << File.expand_path(File.join(__dir__, "..", "..", "locales")) if defined?(Rodauth::I18n)