Skip to content

Commit

Permalink
spree backend user session fallback root_path to admin_path
Browse files Browse the repository at this point in the history
  • Loading branch information
bhtabor committed Jul 7, 2021
1 parent 89a6871 commit 4dbd0e3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ def authorization_failure
return redirect_to spree.admin_login_path
end

def root_path
::Spree.admin_path
end

protected

def translation_scope
Expand Down

0 comments on commit 4dbd0e3

Please sign in to comment.