Ruby on Rails redirect how to pass params in routes file
We recently changed the product name on our website from 'bracelets' to 'wristbands' and need to keep the old routes around for SEO purposes. Essentially, these routes www.hostname.com/products/bracelets/series-1/ www.hostname.com/products/bracelets/series-1/small-purple should route to www.hostname.com/products/wristbands/series-1/ www.hostname.com/products/wristbands/series-1/small-purple I am reading the tutorial here http://guides.rubyonrails.org/routing.html#redirection and looks like i'll be using the block syntax, but am still not sure how to do the route properly. I'm looking to learn