lib/rodauth/select-account.rb in rodauth-select-account-0.0.4 vs lib/rodauth/select-account.rb in rodauth-select-account-0.1.0
- old
+ new
@@ -1,5 +1,7 @@
# frozen_string_literal: true
require "rodauth"
require "rodauth/select-account/version"
+
+Rodauth::I18n.directories << File.expand_path(File.join(__dir__, "..", "..", "locales")) if defined?(Rodauth::I18n)