add redirect from /alt-styles to /rainbow-pool/styles

In a recent change, I changed the path for this page—but forgot to
keep the old URL available as a redirect, for older links! Fixed.
This commit is contained in:
Emi Matchu 2024-10-18 14:24:52 -07:00
parent 7891acd3b1
commit bb83f6fd36

View file

@ -44,6 +44,7 @@ OpenneoImpressItems::Application.routes.draw do
only: [:index, :show] do
resources :pet_states, only: [:edit, :update], path: "appearances"
end
get '/alt-styles', to: redirect('/rainbow-pool/styles')
# Loading and modeling pets!
post '/pets/load' => 'pets#load', :as => :load_pet