From 12a513c54c49289c7cf472c5574ec0497fd9155c Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 9 Jan 2021 16:29:10 +0000 Subject: [PATCH] Apply an upstream fix to Spree::I18n See: https://github.com/spree/spree/commit/fe95f637c988044f3af040a043cdbcff84935295 Fixes error mentioned in the above Spree commit. --- lib/spree/i18n.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spree/i18n.rb b/lib/spree/i18n.rb index 39bd4590cd..a1ab621b0d 100644 --- a/lib/spree/i18n.rb +++ b/lib/spree/i18n.rb @@ -6,7 +6,7 @@ require 'spree/i18n/base' module Spree extend ActionView::Helpers::TranslationHelper - extend ActionView::Helpers::TagHelper if ENV['DEPENDENCIES_NEXT'] + extend ActionView::Helpers::TagHelper class << self # Add spree namespace and delegate to Rails TranslationHelper for some nice