Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use spree_user instead of spree_current_user
Devise utilizes spree_user scope when executing after_sign_in_path. This is an important distinction when storing the user location as the user would not be redirected as expected if we use spree_current_user. Co-Authored-By: Elia Schito <elia@schito.me>
- Loading branch information