mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
5 lines
201 B
Ruby
5 lines
201 B
Ruby
Devise.setup do |config|
|
|
# Add a default scope to devise, to prevent it from checking
|
|
# whether other devise enabled models are signed into a session or not
|
|
config.default_scope = :spree_user
|
|
end |