Skip to content

Commit 263c3b6

Browse files
committed
spree backend user session fallback root_path to admin_path
1 parent 89a6871 commit 263c3b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/controllers/backend/spree/admin/user_sessions_controller.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ def authorization_failure
3434
return redirect_to spree.admin_login_path
3535
end
3636

37+
def root_path
38+
Spree.admin_path
39+
end
40+
3741
protected
3842

3943
def translation_scope

0 commit comments

Comments
 (0)