{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/54","id":33933279,"html_url":"https://github.com/mysociety/popolo-viewer-sinatra/pull/54","diff_url":"https://github.com/mysociety/popolo-viewer-sinatra/pull/54.diff","patch_url":"https://github.com/mysociety/popolo-viewer-sinatra/pull/54.patch","issue_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/54","number":54,"state":"closed","locked":false,"title":"Sinatra routes","user":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"body":"Sinatra has built-in magic `__sinatra__` routes, for things like\nimages. We need to allow those to pass through our before filter.\n","created_at":"2015-04-23T08:21:34Z","updated_at":"2015-04-23T08:33:25Z","closed_at":"2015-04-23T08:33:25Z","merged_at":null,"merge_commit_sha":"892de5bc325a2d5b5925a13e5615c627e4cf166d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/54/commits","review_comments_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/54/comments","review_comment_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/54/comments","statuses_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/statuses/01a2539ed2c96217aa924e33a36f0184b885cbda","head":{"label":"mysociety:sinatra_routes","ref":"sinatra_routes","sha":"01a2539ed2c96217aa924e33a36f0184b885cbda","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":33254196,"name":"popolo-viewer-sinatra","full_name":"mysociety/popolo-viewer-sinatra","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/popolo-viewer-sinatra","description":"Sinatra app for viewing Popolo data","fork":false,"url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra","forks_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/forks","keys_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/teams","hooks_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/hooks","issue_events_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/events","assignees_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/tags","blobs_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/languages","stargazers_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/stargazers","contributors_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/contributors","subscribers_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/subscribers","subscription_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/subscription","commits_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/merges","archive_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/downloads","issues_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/releases{/id}","created_at":"2015-04-01T15:02:20Z","updated_at":"2015-04-23T08:32:46Z","pushed_at":"2015-04-23T08:32:44Z","git_url":"git://github.com/mysociety/popolo-viewer-sinatra.git","ssh_url":"git@github.com:mysociety/popolo-viewer-sinatra.git","clone_url":"https://github.com/mysociety/popolo-viewer-sinatra.git","svn_url":"https://github.com/mysociety/popolo-viewer-sinatra","homepage":null,"size":1917,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"mysociety:master","ref":"master","sha":"e62eaeb27e2b94d496013f1a02e565bcab4c2fb1","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":33254196,"name":"popolo-viewer-sinatra","full_name":"mysociety/popolo-viewer-sinatra","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/popolo-viewer-sinatra","description":"Sinatra app for viewing Popolo data","fork":false,"url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra","forks_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/forks","keys_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/teams","hooks_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/hooks","issue_events_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/events","assignees_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/tags","blobs_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/languages","stargazers_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/stargazers","contributors_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/contributors","subscribers_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/subscribers","subscription_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/subscription","commits_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/merges","archive_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/downloads","issues_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/releases{/id}","created_at":"2015-04-01T15:02:20Z","updated_at":"2015-04-23T08:32:46Z","pushed_at":"2015-04-23T08:32:44Z","git_url":"git://github.com/mysociety/popolo-viewer-sinatra.git","ssh_url":"git@github.com:mysociety/popolo-viewer-sinatra.git","clone_url":"https://github.com/mysociety/popolo-viewer-sinatra.git","svn_url":"https://github.com/mysociety/popolo-viewer-sinatra","homepage":null,"size":1917,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":16,"forks":0,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/54"},"html":{"href":"https://github.com/mysociety/popolo-viewer-sinatra/pull/54"},"issue":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/54"},"comments":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/mysociety/popolo-viewer-sinatra/statuses/01a2539ed2c96217aa924e33a36f0184b885cbda"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":115,"deletions":0,"changed_files":6}}