{"comment":{"url":"https://api.github.com/repos/alphagov/service-manual-publisher/comments/14185507","html_url":"https://github.com/alphagov/service-manual-publisher/commit/9747ce131dbfed3c115dab61b5316977ffcbbce1#commitcomment-14185507","id":14185507,"user":{"login":"tadast","id":218239,"avatar_url":"https://avatars.githubusercontent.com/u/218239?v=3","gravatar_id":"","url":"https://api.github.com/users/tadast","html_url":"https://github.com/tadast","followers_url":"https://api.github.com/users/tadast/followers","following_url":"https://api.github.com/users/tadast/following{/other_user}","gists_url":"https://api.github.com/users/tadast/gists{/gist_id}","starred_url":"https://api.github.com/users/tadast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadast/subscriptions","organizations_url":"https://api.github.com/users/tadast/orgs","repos_url":"https://api.github.com/users/tadast/repos","events_url":"https://api.github.com/users/tadast/events{/privacy}","received_events_url":"https://api.github.com/users/tadast/received_events","type":"User","site_admin":false},"position":3,"line":3,"path":"app/controllers/drafts_controller.rb","commit_id":"9747ce131dbfed3c115dab61b5316977ffcbbce1","created_at":"2015-11-04T15:15:07Z","updated_at":"2015-11-04T15:15:07Z","body":"We need to check if the latest edition is actually published before duplicating it here. We could have race conditions or users clicking that link on a stale browser tab."}}