Commit 17e0b3a
committed
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.1 parent 92f1caa commit 17e0b3a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
0 commit comments