{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/30","id":239066079,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MDY2MDc5","html_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate/pull/30","diff_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate/pull/30.diff","patch_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate/pull/30.patch","issue_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/30","number":30,"state":"closed","locked":false,"title":"Add custom error pages","user":{"login":"dankmitchell","id":3071606,"node_id":"MDQ6VXNlcjMwNzE2MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3071606?v=4","gravatar_id":"","url":"https://api.github.com/users/dankmitchell","html_url":"https://github.com/dankmitchell","followers_url":"https://api.github.com/users/dankmitchell/followers","following_url":"https://api.github.com/users/dankmitchell/following{/other_user}","gists_url":"https://api.github.com/users/dankmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/dankmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankmitchell/subscriptions","organizations_url":"https://api.github.com/users/dankmitchell/orgs","repos_url":"https://api.github.com/users/dankmitchell/repos","events_url":"https://api.github.com/users/dankmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/dankmitchell/received_events","type":"User","site_admin":false},"body":"> These are an exact replacement for the normal rails pages. The content should be made specific for each service but for this boilerplate it's generic .\r\n\r\n### Context\r\nError pages\r\n\r\n### Changes proposed in this pull request\r\nAdd custom error pages\r\n\r\n### Guidance to review\r\nEither navigate directly to the route or in development.rb change `config.consider_all_requests_local` to ` false` to replicate a production environment.","created_at":"2018-12-17T08:49:13Z","updated_at":"2018-12-17T14:02:41Z","closed_at":"2018-12-17T14:02:41Z","merged_at":"2018-12-17T14:02:41Z","merge_commit_sha":"0be3b5b91beb7f884434075135eb08f082af8737","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/30/commits","review_comments_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/30/comments","review_comment_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/30/comments","statuses_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/statuses/c6ea1e5a36bf8bfd9228a3bc098efd84d642bdcb","head":{"label":"DFE-Digital:custom-error-pages","ref":"custom-error-pages","sha":"c6ea1e5a36bf8bfd9228a3bc098efd84d642bdcb","user":{"login":"DFE-Digital","id":30029772,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDI5Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/30029772?v=4","gravatar_id":"","url":"https://api.github.com/users/DFE-Digital","html_url":"https://github.com/DFE-Digital","followers_url":"https://api.github.com/users/DFE-Digital/followers","following_url":"https://api.github.com/users/DFE-Digital/following{/other_user}","gists_url":"https://api.github.com/users/DFE-Digital/gists{/gist_id}","starred_url":"https://api.github.com/users/DFE-Digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFE-Digital/subscriptions","organizations_url":"https://api.github.com/users/DFE-Digital/orgs","repos_url":"https://api.github.com/users/DFE-Digital/repos","events_url":"https://api.github.com/users/DFE-Digital/events{/privacy}","received_events_url":"https://api.github.com/users/DFE-Digital/received_events","type":"Organization","site_admin":false},"repo":{"id":156696930,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2OTY5MzA=","name":"govuk-rails-boilerplate","full_name":"DFE-Digital/govuk-rails-boilerplate","private":false,"owner":{"login":"DFE-Digital","id":30029772,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDI5Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/30029772?v=4","gravatar_id":"","url":"https://api.github.com/users/DFE-Digital","html_url":"https://github.com/DFE-Digital","followers_url":"https://api.github.com/users/DFE-Digital/followers","following_url":"https://api.github.com/users/DFE-Digital/following{/other_user}","gists_url":"https://api.github.com/users/DFE-Digital/gists{/gist_id}","starred_url":"https://api.github.com/users/DFE-Digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFE-Digital/subscriptions","organizations_url":"https://api.github.com/users/DFE-Digital/orgs","repos_url":"https://api.github.com/users/DFE-Digital/repos","events_url":"https://api.github.com/users/DFE-Digital/events{/privacy}","received_events_url":"https://api.github.com/users/DFE-Digital/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate","description":null,"fork":false,"url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate","forks_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/forks","keys_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/teams","hooks_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/events","assignees_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/tags","blobs_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/languages","stargazers_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/subscription","commits_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/merges","archive_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/downloads","issues_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/deployments","created_at":"2018-11-08T11:30:34Z","updated_at":"2018-12-17T07:12:58Z","pushed_at":"2018-12-17T14:02:41Z","git_url":"git://github.com/DFE-Digital/govuk-rails-boilerplate.git","ssh_url":"git@github.com:DFE-Digital/govuk-rails-boilerplate.git","clone_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate.git","svn_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate","homepage":null,"size":198,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"DFE-Digital:master","ref":"master","sha":"cf55cbe48f0e9283bbd407f8289769f5925655d8","user":{"login":"DFE-Digital","id":30029772,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDI5Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/30029772?v=4","gravatar_id":"","url":"https://api.github.com/users/DFE-Digital","html_url":"https://github.com/DFE-Digital","followers_url":"https://api.github.com/users/DFE-Digital/followers","following_url":"https://api.github.com/users/DFE-Digital/following{/other_user}","gists_url":"https://api.github.com/users/DFE-Digital/gists{/gist_id}","starred_url":"https://api.github.com/users/DFE-Digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFE-Digital/subscriptions","organizations_url":"https://api.github.com/users/DFE-Digital/orgs","repos_url":"https://api.github.com/users/DFE-Digital/repos","events_url":"https://api.github.com/users/DFE-Digital/events{/privacy}","received_events_url":"https://api.github.com/users/DFE-Digital/received_events","type":"Organization","site_admin":false},"repo":{"id":156696930,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2OTY5MzA=","name":"govuk-rails-boilerplate","full_name":"DFE-Digital/govuk-rails-boilerplate","private":false,"owner":{"login":"DFE-Digital","id":30029772,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDI5Nzcy","avatar_url":"https://avatars3.githubusercontent.com/u/30029772?v=4","gravatar_id":"","url":"https://api.github.com/users/DFE-Digital","html_url":"https://github.com/DFE-Digital","followers_url":"https://api.github.com/users/DFE-Digital/followers","following_url":"https://api.github.com/users/DFE-Digital/following{/other_user}","gists_url":"https://api.github.com/users/DFE-Digital/gists{/gist_id}","starred_url":"https://api.github.com/users/DFE-Digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DFE-Digital/subscriptions","organizations_url":"https://api.github.com/users/DFE-Digital/orgs","repos_url":"https://api.github.com/users/DFE-Digital/repos","events_url":"https://api.github.com/users/DFE-Digital/events{/privacy}","received_events_url":"https://api.github.com/users/DFE-Digital/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate","description":null,"fork":false,"url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate","forks_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/forks","keys_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/teams","hooks_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/events","assignees_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/tags","blobs_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/languages","stargazers_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/subscription","commits_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/merges","archive_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/downloads","issues_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/deployments","created_at":"2018-11-08T11:30:34Z","updated_at":"2018-12-17T07:12:58Z","pushed_at":"2018-12-17T14:02:41Z","git_url":"git://github.com/DFE-Digital/govuk-rails-boilerplate.git","ssh_url":"git@github.com:DFE-Digital/govuk-rails-boilerplate.git","clone_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate.git","svn_url":"https://github.com/DFE-Digital/govuk-rails-boilerplate","homepage":null,"size":198,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/30"},"html":{"href":"https://github.com/DFE-Digital/govuk-rails-boilerplate/pull/30"},"issue":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/30"},"comments":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/DFE-Digital/govuk-rails-boilerplate/statuses/c6ea1e5a36bf8bfd9228a3bc098efd84d642bdcb"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dankmitchell","id":3071606,"node_id":"MDQ6VXNlcjMwNzE2MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3071606?v=4","gravatar_id":"","url":"https://api.github.com/users/dankmitchell","html_url":"https://github.com/dankmitchell","followers_url":"https://api.github.com/users/dankmitchell/followers","following_url":"https://api.github.com/users/dankmitchell/following{/other_user}","gists_url":"https://api.github.com/users/dankmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/dankmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankmitchell/subscriptions","organizations_url":"https://api.github.com/users/dankmitchell/orgs","repos_url":"https://api.github.com/users/dankmitchell/repos","events_url":"https://api.github.com/users/dankmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/dankmitchell/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":81,"deletions":200,"changed_files":10}}
{"actor":{"display_login":"dankmitchell"}}