alphagov/publisher — pull request #194 by bishboria (2014-04-22 11:30:27+00:00)
Title: Do not allow attempts to create more than one draft

https://www.pivotaltracker.com/story/show/68697552

If an attempt to create a second draft gets through, the application currently errors and shows the user a stack trace.

This change stops the error from happening by checking if there is already a newer edition in progress, and returns the published edition along with an alert.