{"action":"closed","issue":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/332","repository_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/332/comments","events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/332/events","html_url":"https://github.com/alphagov/specialist-publisher-rebuild/issues/332","id":147047663,"number":332,"title":"[CLOSED] Update call to render to new syntax","user":{"login":"benilovj","id":23801,"avatar_url":"https://avatars.githubusercontent.com/u/23801?v=3","gravatar_id":"","url":"https://api.github.com/users/benilovj","html_url":"https://github.com/benilovj","followers_url":"https://api.github.com/users/benilovj/followers","following_url":"https://api.github.com/users/benilovj/following{/other_user}","gists_url":"https://api.github.com/users/benilovj/gists{/gist_id}","starred_url":"https://api.github.com/users/benilovj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benilovj/subscriptions","organizations_url":"https://api.github.com/users/benilovj/orgs","repos_url":"https://api.github.com/users/benilovj/repos","events_url":"https://api.github.com/users/benilovj/events{/privacy}","received_events_url":"https://api.github.com/users/benilovj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-08T21:45:01Z","updated_at":"2016-04-09T10:21:18Z","closed_at":"2016-04-09T10:21:18Z","body":"<a href=\"https://github.com/james\"><img src=\"https://avatars.githubusercontent.com/u/425?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [james](https://github.com/james)**\n_Thursday 27 November 2014 at 14:25 GMT_\n_Originally opened as https://github.com/alphagov/specialist-publisher/pull/332_\n\n----\n\nThis deprecation warning was turning up about 100 times during the\r\ncucumber tests.\r\n\r\n`DEPRECATION WARNING: Passing the format in the template name is\r\ndeprecated. Please pass render with :formats => [:html] instead.\r\n(called from body at\r\n/var/govuk/specialist-publisher/app/exporters/formatters/abstract_docume\r\nnt_publication_alert_formatter.rb:25)`\r\n\r\nSo I did what it said.\n\n----\n\n_**[james](https://github.com/james)** included the following code: https://github.com/alphagov/specialist-publisher/pull/332/commits_\n"}}