mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-06 02:51:34 +00:00
redirect /enterprises to /
This commit is contained in:
@@ -2,6 +2,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user