Permalink
Browse files

Add temporary post type redirect

Closes #52.
  • Loading branch information...
1 parent 50f056f commit ddac4d84cfb42b01584f0c22f4a04ec0ca3bd0ed @titanous titanous committed Sep 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 config.ru
View
@@ -68,6 +68,8 @@ use Rack::Rewrite do
} if ENV['RACK_ENV'] == 'production'
r301 %r{(.+)(/|\.html)$}, '$1'
+ r302 %r{\A/types/post/.+}, '/docs/post-types'
+ r302 %r{\A/types/info/.+}, '/docs/info-types'
end
use Rack::Deflater

0 comments on commit ddac4d8

Please sign in to comment.