Add temporary post type redirect

Closes #52.
This commit is contained in:
Jonathan Rudenberg 2012-09-22 10:40:02 -04:00
parent 50f056f3d7
commit ddac4d84cf

View file

@ -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