mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user