From bb83f6fd36feec1e9e409892d7af093f3b5270f4 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Fri, 18 Oct 2024 14:24:52 -0700 Subject: [PATCH] add redirect from /alt-styles to /rainbow-pool/styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index f1ae1942..c1a14f0b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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