{"action":"created","comment":{"url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/comments/167913916","pull_request_review_id":96198864,"id":167913916,"diff_hunk":"@@ -40,7 +40,7 @@ def matches?(request)\n   resource :affordability, path: \"cyfrifiannell-fforddiadwyedd-morgais\", as: 'affordability_cy' do\n     get '/', to: \"affordabilities#step_1\"\n     collection do\n-      get 'step_1', path: \"step-1\"\n+      match 'step_1', path: \"step-1\", via: [:get, :post]","path":"config/routes.rb","position":5,"original_position":5,"commit_id":"342da4ecf0b774a2e333d15796c5cf6a67a8c86d","original_commit_id":"026283865231732ba76d899d397d9cc8552616a4","user":{"login":"KateWilkinson","id":11137272,"avatar_url":"https://avatars0.githubusercontent.com/u/11137272?v=4","gravatar_id":"","url":"https://api.github.com/users/KateWilkinson","html_url":"https://github.com/KateWilkinson","followers_url":"https://api.github.com/users/KateWilkinson/followers","following_url":"https://api.github.com/users/KateWilkinson/following{/other_user}","gists_url":"https://api.github.com/users/KateWilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/KateWilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KateWilkinson/subscriptions","organizations_url":"https://api.github.com/users/KateWilkinson/orgs","repos_url":"https://api.github.com/users/KateWilkinson/repos","events_url":"https://api.github.com/users/KateWilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/KateWilkinson/received_events","type":"User","site_admin":false},"body":"Hey @Tr4pSt3R could you have a look at the spec I've added and see what you think?","created_at":"2018-02-13T16:08:04Z","updated_at":"2018-02-13T16:08:04Z","html_url":"https://github.com/moneyadviceservice/mortgage_calculator/pull/323#discussion_r167913916","pull_request_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/comments/167913916"},"html":{"href":"https://github.com/moneyadviceservice/mortgage_calculator/pull/323#discussion_r167913916"},"pull_request":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323"}},"in_reply_to_id":167890859},"pull_request":{"url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323","id":168834952,"html_url":"https://github.com/moneyadviceservice/mortgage_calculator/pull/323","diff_url":"https://github.com/moneyadviceservice/mortgage_calculator/pull/323.diff","patch_url":"https://github.com/moneyadviceservice/mortgage_calculator/pull/323.patch","issue_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/323","number":323,"state":"open","locked":false,"title":"8939: Fixes broken next steps link and broken cy route","user":{"login":"KateWilkinson","id":11137272,"avatar_url":"https://avatars0.githubusercontent.com/u/11137272?v=4","gravatar_id":"","url":"https://api.github.com/users/KateWilkinson","html_url":"https://github.com/KateWilkinson","followers_url":"https://api.github.com/users/KateWilkinson/followers","following_url":"https://api.github.com/users/KateWilkinson/following{/other_user}","gists_url":"https://api.github.com/users/KateWilkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/KateWilkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KateWilkinson/subscriptions","organizations_url":"https://api.github.com/users/KateWilkinson/orgs","repos_url":"https://api.github.com/users/KateWilkinson/repos","events_url":"https://api.github.com/users/KateWilkinson/events{/privacy}","received_events_url":"https://api.github.com/users/KateWilkinson/received_events","type":"User","site_admin":false},"body":"[TP 8939](https://moneyadviceservice.tpondemand.com/entity/8939-mortgage-affordability-calculator-fix-the-link)\r\n\r\n#### Summary\r\n\r\nIncludes 2 small fixes for the Mortgage Affordability Calculator:\r\n\r\n* Next steps content was updated in [8648](https://moneyadviceservice.tpondemand.com/entity/8648-update-mortgage-affordability-calculator-next-steps), however there was an error in the partial for low risk content which meant one of the links was broken. The error is corrected here.\r\n\r\n* There's currently a broken route to post to the Welsh version of step 1 of the calculator which results in a 500 when submitting the form. The `en` route was previously updated to include `post` but it looks as though the `cy` route was missed. The `cy` route is updated here to match the `en` version.","created_at":"2018-02-13T12:43:27Z","updated_at":"2018-02-13T16:08:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8549d8dc0ae7c4f47b568d62a2b1fc4b4aaae3a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323/commits","review_comments_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323/comments","review_comment_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/323/comments","statuses_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/statuses/342da4ecf0b774a2e333d15796c5cf6a67a8c86d","head":{"label":"moneyadviceservice:8939_fix_broken_next_steps_link","ref":"8939_fix_broken_next_steps_link","sha":"342da4ecf0b774a2e333d15796c5cf6a67a8c86d","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars1.githubusercontent.com/u/2064781?v=4","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":16581429,"name":"mortgage_calculator","full_name":"moneyadviceservice/mortgage_calculator","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars1.githubusercontent.com/u/2064781?v=4","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/mortgage_calculator","description":"Mortgage calculator tools","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator","forks_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/releases{/id}","deployments_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/deployments","created_at":"2014-02-06T14:17:20Z","updated_at":"2018-02-08T18:58:18Z","pushed_at":"2018-02-13T16:06:03Z","git_url":"git://github.com/moneyadviceservice/mortgage_calculator.git","ssh_url":"git@github.com:moneyadviceservice/mortgage_calculator.git","clone_url":"https://github.com/moneyadviceservice/mortgage_calculator.git","svn_url":"https://github.com/moneyadviceservice/mortgage_calculator","homepage":"https://www.moneyadviceservice.org.uk/en/tools/mortgage-calculator","size":2964,"stargazers_count":3,"watchers_count":3,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"moneyadviceservice:master","ref":"master","sha":"967ea73a6d60041647dc70e9d57349726945eb1f","user":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars1.githubusercontent.com/u/2064781?v=4","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"repo":{"id":16581429,"name":"mortgage_calculator","full_name":"moneyadviceservice/mortgage_calculator","owner":{"login":"moneyadviceservice","id":2064781,"avatar_url":"https://avatars1.githubusercontent.com/u/2064781?v=4","gravatar_id":"","url":"https://api.github.com/users/moneyadviceservice","html_url":"https://github.com/moneyadviceservice","followers_url":"https://api.github.com/users/moneyadviceservice/followers","following_url":"https://api.github.com/users/moneyadviceservice/following{/other_user}","gists_url":"https://api.github.com/users/moneyadviceservice/gists{/gist_id}","starred_url":"https://api.github.com/users/moneyadviceservice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneyadviceservice/subscriptions","organizations_url":"https://api.github.com/users/moneyadviceservice/orgs","repos_url":"https://api.github.com/users/moneyadviceservice/repos","events_url":"https://api.github.com/users/moneyadviceservice/events{/privacy}","received_events_url":"https://api.github.com/users/moneyadviceservice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moneyadviceservice/mortgage_calculator","description":"Mortgage calculator tools","fork":false,"url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator","forks_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/forks","keys_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/teams","hooks_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/hooks","issue_events_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/events{/number}","events_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/events","assignees_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/assignees{/user}","branches_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/branches{/branch}","tags_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/tags","blobs_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/statuses/{sha}","languages_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/languages","stargazers_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/stargazers","contributors_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/contributors","subscribers_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/subscribers","subscription_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/subscription","commits_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/comments{/number}","contents_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/contents/{+path}","compare_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/merges","archive_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/downloads","issues_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues{/number}","pulls_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls{/number}","milestones_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/milestones{/number}","notifications_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/labels{/name}","releases_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/releases{/id}","deployments_url":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/deployments","created_at":"2014-02-06T14:17:20Z","updated_at":"2018-02-08T18:58:18Z","pushed_at":"2018-02-13T16:06:03Z","git_url":"git://github.com/moneyadviceservice/mortgage_calculator.git","ssh_url":"git@github.com:moneyadviceservice/mortgage_calculator.git","clone_url":"https://github.com/moneyadviceservice/mortgage_calculator.git","svn_url":"https://github.com/moneyadviceservice/mortgage_calculator","homepage":"https://www.moneyadviceservice.org.uk/en/tools/mortgage-calculator","size":2964,"stargazers_count":3,"watchers_count":3,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323"},"html":{"href":"https://github.com/moneyadviceservice/mortgage_calculator/pull/323"},"issue":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/323"},"comments":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/moneyadviceservice/mortgage_calculator/statuses/342da4ecf0b774a2e333d15796c5cf6a67a8c86d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"KateWilkinson"}}