diff --git a/app/controllers/spree/admin/payment_methods_controller.rb b/app/controllers/spree/admin/payment_methods_controller.rb index 47ca56e2a84..5086ad64cd7 100644 --- a/app/controllers/spree/admin/payment_methods_controller.rb +++ b/app/controllers/spree/admin/payment_methods_controller.rb @@ -103,7 +103,7 @@ def force_environment 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)