alphagov/govuk_content_api — pull request #39 by jystewart (2012-10-09 19:57:06+00:00)
Title: Force public ID

An infrastructure change revealed that we couldn't rely on the incoming request hostname to generate public URLs. That led to a bug in the IDs being generated. This change fixes that by relying on Plek to get the current environment's public interface details (as we already did for web urls)