Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Require explicitly action_view in I18n

Damian Legawiec73e95f8c5e06
diff --git a/core/lib/spree/i18n.rb b/core/lib/spree/i18n.rb
index 55d9dcc620..84e6202520 100644
--- a/core/lib/spree/i18n.rb
+++ b/core/lib/spree/i18n.rb
@@ -1,10 +1,11 @@
require 'i18n'
require 'active_support/core_ext/array/extract_options'
require 'spree/i18n/base'
+require 'action_view'
module Spree
- extend ActionView::Helpers::TranslationHelper
- extend ActionView::Helpers::TagHelper
+ extend ::ActionView::Helpers::TranslationHelper
+ extend ::ActionView::Helpers::TagHelper
class << self
# Add spree namespace and delegate to Rails TranslationHelper for some nice