mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge branch 'url-redirects' into e2e-links
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
Openfoodnetwork::Application.routes.draw do
|
||||
root :to => 'home#index'
|
||||
|
||||
# Redirects from old URLs avoid server errors and helps search engines
|
||||
get "/enterprises", to: redirect("/")
|
||||
get "/products", to: redirect("/")
|
||||
|
||||
get "/#/login", to: "home#index", as: :spree_login
|
||||
get "/login", to: redirect("/#/login")
|
||||
|
||||
Reference in New Issue
Block a user