Skip to content

Commit

Permalink
redirect /t/products/:id to /
Browse files Browse the repository at this point in the history
  • Loading branch information
mkllnk committed Jun 13, 2015
1 parent c6d0105 commit 80bf6e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Redirects from old URLs avoid server errors and helps search engines
get "/enterprises", to: redirect("/")
get "/products", to: redirect("/")
get "/t/products/:id", to: redirect("/")

get "/#/login", to: "home#index", as: :spree_login
get "/login", to: redirect("/#/login")
Expand Down

0 comments on commit 80bf6e6

Please sign in to comment.