From 337ac8f224036f49a375fa461e6053f78f6166ef Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 26 Mar 2017 11:11:56 -0400 Subject: [PATCH] Add redirect --- lib/app.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/app.rb b/lib/app.rb index adc2384a..2a718305 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -292,7 +292,8 @@ class App < Sinatra::Application { '/css-data-types/' => '/css-values-units/', '/css-at-rules/' => '/?q=css%20%40', - '/html/article' => '/html/element/article' + '/html/article' => '/html/element/article', + '/http-status-codes/' => '/http-status/' }.each do |path, url| class_eval <<-CODE, __FILE__, __LINE__ + 1 get '#{path}' do