diff --git a/config/routes.rb b/config/routes.rb index b7ec2a3105..ac889a2d52 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,7 +5,6 @@ Openfoodnetwork::Application.routes.draw do get "/enterprises", to: redirect("/") get "/products", to: redirect("/") get "/products/:id", to: redirect("/") - get "/t/products/:id", to: redirect("/") get "/about_us", to: redirect(ContentConfig.footer_about_url) get "/login", to: redirect("/#/login") diff --git a/config/routes/spree.rb b/config/routes/spree.rb index dd13ef74da..cc221fc8d0 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -89,9 +89,6 @@ Spree::Core::Engine.routes.prepend do resources :products - # route globbing for pretty nested taxon and product paths - get '/t/*id', :to => 'taxons#show', :as => :nested_taxons - get '/unauthorized', :to => 'home#unauthorized', :as => :unauthorized get '/content/cvv', :to => 'content#cvv', :as => :cvv get '/content/*path', :to => 'content#show', :as => :content