mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
remove "Bogus" payment providers from staging and production
This commit is contained in:
@@ -103,7 +103,7 @@ module Spree
|
||||
end
|
||||
|
||||
def load_data
|
||||
@providers = if spree_current_user.admin? || Rails.env.test?
|
||||
@providers = if Rails.env.dev? || Rails.env.test?
|
||||
Gateway.providers.sort_by(&:name)
|
||||
else
|
||||
Gateway.providers.reject{ |p| p.name.include? "Bogus" }.sort_by(&:name)
|
||||
|
||||
Reference in New Issue
Block a user