{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/laravel/laravel.com/pulls/7","id":28695973,"html_url":"https://github.com/laravel/laravel.com/pull/7","diff_url":"https://github.com/laravel/laravel.com/pull/7.diff","patch_url":"https://github.com/laravel/laravel.com/pull/7.patch","issue_url":"https://api.github.com/repos/laravel/laravel.com/issues/7","number":7,"state":"closed","locked":false,"title":"Docs section: keep the current section when switch between versions","user":{"login":"rbadillap","id":3170758,"avatar_url":"https://avatars.githubusercontent.com/u/3170758?v=3","gravatar_id":"","url":"https://api.github.com/users/rbadillap","html_url":"https://github.com/rbadillap","followers_url":"https://api.github.com/users/rbadillap/followers","following_url":"https://api.github.com/users/rbadillap/following{/other_user}","gists_url":"https://api.github.com/users/rbadillap/gists{/gist_id}","starred_url":"https://api.github.com/users/rbadillap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbadillap/subscriptions","organizations_url":"https://api.github.com/users/rbadillap/orgs","repos_url":"https://api.github.com/users/rbadillap/repos","events_url":"https://api.github.com/users/rbadillap/events{/privacy}","received_events_url":"https://api.github.com/users/rbadillap/received_events","type":"User","site_admin":false},"body":"Hey, well basically, the idea is when you are located in the docs section.\r\nYou are reading in some specific section, e.g http://laravel.com/docs/4.2/homestead and you want to switch to another version such 5.0, it redirects you to http://laravel.com/docs/5.0\r\n\r\nWhat I consider is that it should keep the section (in this example, homestead) with the new version selected (http://laravel.com/docs/5.0/homestead)\r\n\r\nWhat do you think?\r\n\r\ncc @GrahamCampbell \r\n\r\n![screen shot 2015-02-04 at 9 03 16 pm](https://cloud.githubusercontent.com/assets/3170758/6054371/cda2a15e-acb1-11e4-923c-5437f12fe87c.png)\r\n![screen shot 2015-02-04 at 9 03 31 pm](https://cloud.githubusercontent.com/assets/3170758/6054372/d35ca658-acb1-11e4-965b-e6f09dbb9e21.png)\r\n","created_at":"2015-02-05T03:08:51Z","updated_at":"2015-02-25T16:19:58Z","closed_at":"2015-02-25T16:19:58Z","merged_at":"2015-02-25T16:19:58Z","merge_commit_sha":"c22dc1009819cdeb40883a68081df0b31c9907f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/laravel.com/pulls/7/commits","review_comments_url":"https://api.github.com/repos/laravel/laravel.com/pulls/7/comments","review_comment_url":"https://api.github.com/repos/laravel/laravel.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel/laravel.com/issues/7/comments","statuses_url":"https://api.github.com/repos/laravel/laravel.com/statuses/c32052f5570e448053727d557bd0fec437ed03dd","head":{"label":"rbadillap:feature/docs-conserve-section-while-switch-versions","ref":"feature/docs-conserve-section-while-switch-versions","sha":"c32052f5570e448053727d557bd0fec437ed03dd","user":{"login":"rbadillap","id":3170758,"avatar_url":"https://avatars.githubusercontent.com/u/3170758?v=3","gravatar_id":"","url":"https://api.github.com/users/rbadillap","html_url":"https://github.com/rbadillap","followers_url":"https://api.github.com/users/rbadillap/followers","following_url":"https://api.github.com/users/rbadillap/following{/other_user}","gists_url":"https://api.github.com/users/rbadillap/gists{/gist_id}","starred_url":"https://api.github.com/users/rbadillap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbadillap/subscriptions","organizations_url":"https://api.github.com/users/rbadillap/orgs","repos_url":"https://api.github.com/users/rbadillap/repos","events_url":"https://api.github.com/users/rbadillap/events{/privacy}","received_events_url":"https://api.github.com/users/rbadillap/received_events","type":"User","site_admin":false},"repo":{"id":30332658,"name":"laravel.com","full_name":"rbadillap/laravel.com","owner":{"login":"rbadillap","id":3170758,"avatar_url":"https://avatars.githubusercontent.com/u/3170758?v=3","gravatar_id":"","url":"https://api.github.com/users/rbadillap","html_url":"https://github.com/rbadillap","followers_url":"https://api.github.com/users/rbadillap/followers","following_url":"https://api.github.com/users/rbadillap/following{/other_user}","gists_url":"https://api.github.com/users/rbadillap/gists{/gist_id}","starred_url":"https://api.github.com/users/rbadillap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbadillap/subscriptions","organizations_url":"https://api.github.com/users/rbadillap/orgs","repos_url":"https://api.github.com/users/rbadillap/repos","events_url":"https://api.github.com/users/rbadillap/events{/privacy}","received_events_url":"https://api.github.com/users/rbadillap/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rbadillap/laravel.com","description":"","fork":true,"url":"https://api.github.com/repos/rbadillap/laravel.com","forks_url":"https://api.github.com/repos/rbadillap/laravel.com/forks","keys_url":"https://api.github.com/repos/rbadillap/laravel.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbadillap/laravel.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbadillap/laravel.com/teams","hooks_url":"https://api.github.com/repos/rbadillap/laravel.com/hooks","issue_events_url":"https://api.github.com/repos/rbadillap/laravel.com/issues/events{/number}","events_url":"https://api.github.com/repos/rbadillap/laravel.com/events","assignees_url":"https://api.github.com/repos/rbadillap/laravel.com/assignees{/user}","branches_url":"https://api.github.com/repos/rbadillap/laravel.com/branches{/branch}","tags_url":"https://api.github.com/repos/rbadillap/laravel.com/tags","blobs_url":"https://api.github.com/repos/rbadillap/laravel.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbadillap/laravel.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbadillap/laravel.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbadillap/laravel.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbadillap/laravel.com/statuses/{sha}","languages_url":"https://api.github.com/repos/rbadillap/laravel.com/languages","stargazers_url":"https://api.github.com/repos/rbadillap/laravel.com/stargazers","contributors_url":"https://api.github.com/repos/rbadillap/laravel.com/contributors","subscribers_url":"https://api.github.com/repos/rbadillap/laravel.com/subscribers","subscription_url":"https://api.github.com/repos/rbadillap/laravel.com/subscription","commits_url":"https://api.github.com/repos/rbadillap/laravel.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbadillap/laravel.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbadillap/laravel.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbadillap/laravel.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbadillap/laravel.com/contents/{+path}","compare_url":"https://api.github.com/repos/rbadillap/laravel.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbadillap/laravel.com/merges","archive_url":"https://api.github.com/repos/rbadillap/laravel.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbadillap/laravel.com/downloads","issues_url":"https://api.github.com/repos/rbadillap/laravel.com/issues{/number}","pulls_url":"https://api.github.com/repos/rbadillap/laravel.com/pulls{/number}","milestones_url":"https://api.github.com/repos/rbadillap/laravel.com/milestones{/number}","notifications_url":"https://api.github.com/repos/rbadillap/laravel.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbadillap/laravel.com/labels{/name}","releases_url":"https://api.github.com/repos/rbadillap/laravel.com/releases{/id}","created_at":"2015-02-05T02:06:27Z","updated_at":"2015-02-05T02:06:27Z","pushed_at":"2015-02-05T02:59:27Z","git_url":"git://github.com/rbadillap/laravel.com.git","ssh_url":"git@github.com:rbadillap/laravel.com.git","clone_url":"https://github.com/rbadillap/laravel.com.git","svn_url":"https://github.com/rbadillap/laravel.com","homepage":null,"size":2570,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"laravel:master","ref":"master","sha":"6baa98301dd36c96e6a657fd87c46163c65ec641","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":24334457,"name":"laravel.com","full_name":"laravel/laravel.com","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/laravel.com","description":"","fork":false,"url":"https://api.github.com/repos/laravel/laravel.com","forks_url":"https://api.github.com/repos/laravel/laravel.com/forks","keys_url":"https://api.github.com/repos/laravel/laravel.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/laravel.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/laravel.com/teams","hooks_url":"https://api.github.com/repos/laravel/laravel.com/hooks","issue_events_url":"https://api.github.com/repos/laravel/laravel.com/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/laravel.com/events","assignees_url":"https://api.github.com/repos/laravel/laravel.com/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/laravel.com/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/laravel.com/tags","blobs_url":"https://api.github.com/repos/laravel/laravel.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/laravel.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/laravel.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/laravel.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/laravel.com/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/laravel.com/languages","stargazers_url":"https://api.github.com/repos/laravel/laravel.com/stargazers","contributors_url":"https://api.github.com/repos/laravel/laravel.com/contributors","subscribers_url":"https://api.github.com/repos/laravel/laravel.com/subscribers","subscription_url":"https://api.github.com/repos/laravel/laravel.com/subscription","commits_url":"https://api.github.com/repos/laravel/laravel.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/laravel.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/laravel.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/laravel.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/laravel.com/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/laravel.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/laravel.com/merges","archive_url":"https://api.github.com/repos/laravel/laravel.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/laravel.com/downloads","issues_url":"https://api.github.com/repos/laravel/laravel.com/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/laravel.com/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/laravel.com/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/laravel.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/laravel.com/labels{/name}","releases_url":"https://api.github.com/repos/laravel/laravel.com/releases{/id}","created_at":"2014-09-22T15:35:00Z","updated_at":"2015-02-25T12:42:23Z","pushed_at":"2015-02-25T16:19:58Z","git_url":"git://github.com/laravel/laravel.com.git","ssh_url":"git@github.com:laravel/laravel.com.git","clone_url":"https://github.com/laravel/laravel.com.git","svn_url":"https://github.com/laravel/laravel.com","homepage":null,"size":2935,"stargazers_count":32,"watchers_count":32,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":1,"forks":56,"open_issues":1,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/laravel.com/pulls/7"},"html":{"href":"https://github.com/laravel/laravel.com/pull/7"},"issue":{"href":"https://api.github.com/repos/laravel/laravel.com/issues/7"},"comments":{"href":"https://api.github.com/repos/laravel/laravel.com/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/laravel.com/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/laravel.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel/laravel.com/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/laravel.com/statuses/c32052f5570e448053727d557bd0fec437ed03dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"taylorotwell","id":463230,"avatar_url":"https://avatars.githubusercontent.com/u/463230?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorotwell","html_url":"https://github.com/taylorotwell","followers_url":"https://api.github.com/users/taylorotwell/followers","following_url":"https://api.github.com/users/taylorotwell/following{/other_user}","gists_url":"https://api.github.com/users/taylorotwell/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorotwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorotwell/subscriptions","organizations_url":"https://api.github.com/users/taylorotwell/orgs","repos_url":"https://api.github.com/users/taylorotwell/repos","events_url":"https://api.github.com/users/taylorotwell/events{/privacy}","received_events_url":"https://api.github.com/users/taylorotwell/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"commits":1,"additions":20,"deletions":1,"changed_files":3}}