{"action":"opened","number":5724,"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/5724","id":53063684,"html_url":"https://github.com/angular/angular/pull/5724","diff_url":"https://github.com/angular/angular/pull/5724.diff","patch_url":"https://github.com/angular/angular/pull/5724.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/5724","number":5724,"state":"open","locked":false,"title":"fix(RootRouter): Path prefixed with a slash when not needed","user":{"login":"epotvin","id":942697,"avatar_url":"https://avatars.githubusercontent.com/u/942697?v=3","gravatar_id":"","url":"https://api.github.com/users/epotvin","html_url":"https://github.com/epotvin","followers_url":"https://api.github.com/users/epotvin/followers","following_url":"https://api.github.com/users/epotvin/following{/other_user}","gists_url":"https://api.github.com/users/epotvin/gists{/gist_id}","starred_url":"https://api.github.com/users/epotvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epotvin/subscriptions","organizations_url":"https://api.github.com/users/epotvin/orgs","repos_url":"https://api.github.com/users/epotvin/repos","events_url":"https://api.github.com/users/epotvin/events{/privacy}","received_events_url":"https://api.github.com/users/epotvin/received_events","type":"User","site_admin":false},"body":"Add a condition to avoid prefixing a second slash at the beginning of the path there is already one.\r\n\r\nCloses #5627","created_at":"2015-12-09T01:09:32Z","updated_at":"2015-12-09T01:09:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/5724/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/5724/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/5724/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/289b98f4ecce88205f17c40670c71df8ebcdbba5","head":{"label":"epotvin:fix-root-router-commit","ref":"fix-root-router-commit","sha":"289b98f4ecce88205f17c40670c71df8ebcdbba5","user":{"login":"epotvin","id":942697,"avatar_url":"https://avatars.githubusercontent.com/u/942697?v=3","gravatar_id":"","url":"https://api.github.com/users/epotvin","html_url":"https://github.com/epotvin","followers_url":"https://api.github.com/users/epotvin/followers","following_url":"https://api.github.com/users/epotvin/following{/other_user}","gists_url":"https://api.github.com/users/epotvin/gists{/gist_id}","starred_url":"https://api.github.com/users/epotvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epotvin/subscriptions","organizations_url":"https://api.github.com/users/epotvin/orgs","repos_url":"https://api.github.com/users/epotvin/repos","events_url":"https://api.github.com/users/epotvin/events{/privacy}","received_events_url":"https://api.github.com/users/epotvin/received_events","type":"User","site_admin":false},"repo":{"id":42069729,"name":"angular","full_name":"epotvin/angular","owner":{"login":"epotvin","id":942697,"avatar_url":"https://avatars.githubusercontent.com/u/942697?v=3","gravatar_id":"","url":"https://api.github.com/users/epotvin","html_url":"https://github.com/epotvin","followers_url":"https://api.github.com/users/epotvin/followers","following_url":"https://api.github.com/users/epotvin/following{/other_user}","gists_url":"https://api.github.com/users/epotvin/gists{/gist_id}","starred_url":"https://api.github.com/users/epotvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epotvin/subscriptions","organizations_url":"https://api.github.com/users/epotvin/orgs","repos_url":"https://api.github.com/users/epotvin/repos","events_url":"https://api.github.com/users/epotvin/events{/privacy}","received_events_url":"https://api.github.com/users/epotvin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/epotvin/angular","description":"","fork":true,"url":"https://api.github.com/repos/epotvin/angular","forks_url":"https://api.github.com/repos/epotvin/angular/forks","keys_url":"https://api.github.com/repos/epotvin/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epotvin/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epotvin/angular/teams","hooks_url":"https://api.github.com/repos/epotvin/angular/hooks","issue_events_url":"https://api.github.com/repos/epotvin/angular/issues/events{/number}","events_url":"https://api.github.com/repos/epotvin/angular/events","assignees_url":"https://api.github.com/repos/epotvin/angular/assignees{/user}","branches_url":"https://api.github.com/repos/epotvin/angular/branches{/branch}","tags_url":"https://api.github.com/repos/epotvin/angular/tags","blobs_url":"https://api.github.com/repos/epotvin/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epotvin/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epotvin/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/epotvin/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epotvin/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/epotvin/angular/languages","stargazers_url":"https://api.github.com/repos/epotvin/angular/stargazers","contributors_url":"https://api.github.com/repos/epotvin/angular/contributors","subscribers_url":"https://api.github.com/repos/epotvin/angular/subscribers","subscription_url":"https://api.github.com/repos/epotvin/angular/subscription","commits_url":"https://api.github.com/repos/epotvin/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/epotvin/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/epotvin/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/epotvin/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/epotvin/angular/contents/{+path}","compare_url":"https://api.github.com/repos/epotvin/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epotvin/angular/merges","archive_url":"https://api.github.com/repos/epotvin/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epotvin/angular/downloads","issues_url":"https://api.github.com/repos/epotvin/angular/issues{/number}","pulls_url":"https://api.github.com/repos/epotvin/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/epotvin/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/epotvin/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epotvin/angular/labels{/name}","releases_url":"https://api.github.com/repos/epotvin/angular/releases{/id}","created_at":"2015-09-07T19:01:32Z","updated_at":"2015-09-07T19:01:35Z","pushed_at":"2015-12-09T01:07:25Z","git_url":"git://github.com/epotvin/angular.git","ssh_url":"git@github.com:epotvin/angular.git","clone_url":"https://github.com/epotvin/angular.git","svn_url":"https://github.com/epotvin/angular","homepage":"https://angular.io","size":62669,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"7d15e19f2bd082c285dede16752424fbb39b8c8e","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","created_at":"2014-09-18T16:12:01Z","updated_at":"2015-12-09T01:08:16Z","pushed_at":"2015-12-09T01:04:05Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":72406,"stargazers_count":7069,"watchers_count":7069,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1894,"mirror_url":null,"open_issues_count":707,"forks":1894,"open_issues":707,"watchers":7069,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/5724"},"html":{"href":"https://github.com/angular/angular/pull/5724"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/5724"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/5724/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/5724/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/5724/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/289b98f4ecce88205f17c40670c71df8ebcdbba5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}