Explicitly require Spree::Admin::BaseHelper

NameError: undefined method `preference_field_tag' for module `Spree::Admin::BaseHelper'
/home/runner/openfoodnetwork/vendor/bundle/ruby/2.3.0/gems/activesupport-4.0.13/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method'
/home/runner/openfoodnetwork/vendor/bundle/ruby/2.3.0/gems/activesupport-4.0.13/lib/active_support/core_ext/module/aliasing.rb:32:in `alias_method_chain'
/home/runner/openfoodnetwork/app/helpers/spree/admin/base_helper_decorator.rb:11:in `<module:BaseHelper>'
/home/runner/openfoodnetwork/app/helpers/spree/admin/base_helper_decorator.rb:3:in `<module:Admin>'
This commit is contained in:
Matt-Yorkley
2019-12-22 22:25:08 +01:00
parent 0b5e341ae7
commit d2933e35f1

View File

@@ -1,3 +1,5 @@
require 'spree/admin/base_helper'
module Spree
module Admin
module BaseHelper