alphagov/govuk_content_api — pull request #69 by fatbusinessman (2013-01-30 15:45:18+00:00)
Title: Tags by type and ID (rebased)

Change tag URLs from `/tags/.json` to `/tags//.json` (with redirects from the old URLs).

The `with_tag` handler also now identifies tags by their type and ID (see [examples in the comments](https://github.com/alphagov/govuk_content_api/blob/04fed8ac7073fc8b3a12f07b2038112b5aa0b0ef/govuk_content_api.rb#L229-238)).

We shouldn’t deploy this until alphagov/whitehall#175 and alphagov/frontend#212 are both deployed, as otherwise we’ll break anything that depends on the old URLs and can’t handle redirects.