From d61073f08d9dc27731c58167bbaf66729c7fe9c1 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 12 Jun 2015 10:47:31 +1000 Subject: [PATCH] redirect /enterprises to / --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index 836c7df0f7..f4cfc3d565 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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