redirect /enterprises to /

This commit is contained in:
Maikel Linke
2015-06-12 10:47:31 +10:00
parent 2fb8f9f8a3
commit d61073f08d

View File

@@ -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