Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Re-base

Matthew Kennedyc38a8f522354
diff --git a/backend/app/helpers/spree/admin/base_helper.rb b/backend/app/helpers/spree/admin/base_helper.rb
index a3967587f1..cbbe5a1f47 100644
--- a/backend/app/helpers/spree/admin/base_helper.rb
+++ b/backend/app/helpers/spree/admin/base_helper.rb
@@ -214,6 +214,14 @@ module Spree
)
end
+ def admin_logout_link
+ if defined?(admin_logout_path)
+ admin_logout_path
+ elsif defined?(spree_logout_path)
+ spree_logout_path
+ end
+ end
+
def select2_local_fallback
stripped_locale = I18n.locale.to_s.split('-').first