Remove spree.root route and respective controller. Also move

unauthorized route to main app.

This route is no longer used in OFN
This commit is contained in:
Luis Ramos
2020-06-26 10:05:26 +01:00
parent 7e75581da6
commit 4ee30d7cac
4 changed files with 2 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ module Spree
redirect_to '/unauthorized'
else
store_location
redirect_to respond_to?(:spree_login_path) ? spree_login_path : spree.root_path
redirect_to(respond_to?(:spree_login_path) ? spree_login_path : main_app.root_path)
end
end