Fix double spree scope in i18n

Fix taken from spree: efba9f1a02
This commit is contained in:
Luis Ramos
2021-06-03 22:45:11 +01:00
committed by Andy Brett
parent 5948c20326
commit 43401e4b5e

View File

@@ -15,7 +15,7 @@ module Spree
@virtual_path = virtual_path
options = args.extract_options!
options[:scope] = [*options[:scope]].unshift(:spree)
options[:scope] = [*options[:scope]].unshift(:spree).uniq
args << options
super(*args)
end