alphagov/whitehall — pull request #96 by h-lame (2012-12-11 17:07:51+00:00)
Title: Exposing and managing old urls for documents

URLs stored in DocumentSource instances are exposed in a tab when viewing documents in the CMS. Users with import permissions can edit this list via a text-area, everyone else can just view them in a list.

Also Document#document_sources is now a has_many and there are indexes and validation rules on DocumentSource to prevent duplication.