mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Require localized_number in Payment class
There seems to be some contexts (jobs for subscriptions) where the Payment class loads but LocalizedNumber is an undefined constant. It lives in the /lib directory so it's not auto-loaded.
This commit is contained in:
committed by
Jean-Baptiste Bellet
parent
5d43285834
commit
ed4ab30f6c
@@ -1,5 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "spree/localized_number"
|
||||
|
||||
module Spree
|
||||
class Payment < ApplicationRecord
|
||||
include Spree::Payment::Processing
|
||||
|
||||
Reference in New Issue
Block a user