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.

Clarifies use of mount point and modules. (#10994)

Brian Loomis26cf488f14e6
diff --git a/guides/src/content/developer/3_customization/authentication.md b/guides/src/content/developer/3_customization/authentication.md
index 4c8d254a5d..e9e73d2b22 100644
--- a/guides/src/content/developer/3_customization/authentication.md
+++ b/guides/src/content/developer/3_customization/authentication.md
@@ -110,9 +110,16 @@ include Spree::Core::ControllerHelpers::Auth
include Spree::Core::ControllerHelpers::Common
include Spree::Core::ControllerHelpers::Order
include Spree::Core::ControllerHelpers::Store
+include Spree::Core::ControllerHelpers::Currency
+include Spree::Core::ControllerHelpers::Locale
+
helper 'spree/base'
+helper 'spree/locale', 'spree/currency', 'spree/store'
```
+Please note that including `Spree::Core::ControllerHelpers::Common` will replace your application layout with [Spree layout](https://github.com/spree/spree/blob/master/frontend/app/views/spree/layouts/spree_application.html.erb). For applications not wanting to use Spree layout omit the `Spree::Core::ControllerHelpers::Common` module.
+
+
Each of the methods defined in this module return values that are the
most common in Rails applications today, but you may need to customize
them. In order, they are:
@@ -248,6 +255,10 @@ allow users to logout, one to allow them to login, and one to allow them
to signup. These links will be visible on all customer-facing pages of
Spree.
+## Gemfile
+
+The `spree_auth_devise` gem is not needed when using an existing application authentication unless the goal is to have two separate authentication methods.
+
## Signup promotion
In Spree, there is a promotion that acts on the user signup which will