alphagov/whitehall — pull request #19 by bradleywright (2012-08-06 14:08:34+00:00)
Title: Automatically re-write /government/admin URLs in GovSpeak

Previously we were only looking at the hostname to figure out if we need to
rewrite the URLs to the non-admin versions. This changes the functionality to
include relative URLs beginning with /government/admin in the link munger.