alphagov/govuk_content_api — pull request #66 by jystewart (2013-01-19 11:11:18+00:00)
Title: Fix public urls

Upgrading to Plek 1.0 broke the generation of web URLs and had serious knock-on effects. **That means the content API can't currently be deployed.**

This branch fixes that by relying on the GOVUK_WEBSITE_ROOT environment variable for URL generation. It also tidies up some of the methods used around that.