Fix dynamic constant assignment issues

This commit is contained in:
Paulo Vilarinho
2020-12-17 10:14:54 -03:00
parent 92649ca97c
commit 85663d15d1

View File

@@ -110,8 +110,8 @@ module Spree
end
def self.clean_name
I18n_key = "spree.admin.payment_methods.providers." + name.demodulize.downcase
I18n.t(I18n_key)
i18n_key = "spree.admin.payment_methods.providers." + name.demodulize.downcase
I18n.t(i18n_key)
end
private