{"action":"created","comment":{"url":"https://api.github.com/repos/mxabierto/madison/pulls/comments/30288226","id":30288226,"diff_hunk":"@@ -83,7 +83,7 @@ public function index($slug = null)\n             //Render view and return\n             return View::make('doc.reader.index', $data);\n         } catch (Exception $e) {\n-            return Redirect::to('/')->with('error', $e->getMessage());\n+            return Redirect::to('/participa')->with('error', $e->getMessage());","path":"app/controllers/DocController.php","position":5,"original_position":5,"commit_id":"85e508d2ffdaeb3c0bf3c87962699722cfb57d99","original_commit_id":"85e508d2ffdaeb3c0bf3c87962699722cfb57d99","user":{"login":"rodowi","id":705860,"avatar_url":"https://avatars.githubusercontent.com/u/705860?v=3","gravatar_id":"","url":"https://api.github.com/users/rodowi","html_url":"https://github.com/rodowi","followers_url":"https://api.github.com/users/rodowi/followers","following_url":"https://api.github.com/users/rodowi/following{/other_user}","gists_url":"https://api.github.com/users/rodowi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodowi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodowi/subscriptions","organizations_url":"https://api.github.com/users/rodowi/orgs","repos_url":"https://api.github.com/users/rodowi/repos","events_url":"https://api.github.com/users/rodowi/events{/privacy}","received_events_url":"https://api.github.com/users/rodowi/received_events","type":"User","site_admin":false},"body":"esto debería estar en otro commit no creen?\r\n\r\neste PR es para arreglar el hueco de seguridad no nuestro caos con las ligas","created_at":"2015-05-14T00:06:24Z","updated_at":"2015-05-14T00:06:24Z","html_url":"https://github.com/mxabierto/madison/pull/230#discussion_r30288226","pull_request_url":"https://api.github.com/repos/mxabierto/madison/pulls/230","_links":{"self":{"href":"https://api.github.com/repos/mxabierto/madison/pulls/comments/30288226"},"html":{"href":"https://github.com/mxabierto/madison/pull/230#discussion_r30288226"},"pull_request":{"href":"https://api.github.com/repos/mxabierto/madison/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/mxabierto/madison/pulls/230","id":35165778,"html_url":"https://github.com/mxabierto/madison/pull/230","diff_url":"https://github.com/mxabierto/madison/pull/230.diff","patch_url":"https://github.com/mxabierto/madison/pull/230.patch","issue_url":"https://api.github.com/repos/mxabierto/madison/issues/230","number":230,"state":"closed","locked":false,"title":"Fixed a bug where any sponsor could edit another sponsor's document w…","user":{"login":"codemoe","id":4172905,"avatar_url":"https://avatars.githubusercontent.com/u/4172905?v=3","gravatar_id":"","url":"https://api.github.com/users/codemoe","html_url":"https://github.com/codemoe","followers_url":"https://api.github.com/users/codemoe/followers","following_url":"https://api.github.com/users/codemoe/following{/other_user}","gists_url":"https://api.github.com/users/codemoe/gists{/gist_id}","starred_url":"https://api.github.com/users/codemoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemoe/subscriptions","organizations_url":"https://api.github.com/users/codemoe/orgs","repos_url":"https://api.github.com/users/codemoe/repos","events_url":"https://api.github.com/users/codemoe/events{/privacy}","received_events_url":"https://api.github.com/users/codemoe/received_events","type":"User","site_admin":false},"body":"…hen validating through canUserEdit function on Doc model. Changed redirect after DocController index to /participa","created_at":"2015-05-11T20:27:42Z","updated_at":"2015-05-14T00:06:24Z","closed_at":"2015-05-12T22:47:14Z","merged_at":"2015-05-12T22:47:14Z","merge_commit_sha":"3e9898eecb233420f80c27dd165e56e51ef6a114","assignee":{"login":"urkonn","id":37691,"avatar_url":"https://avatars.githubusercontent.com/u/37691?v=3","gravatar_id":"","url":"https://api.github.com/users/urkonn","html_url":"https://github.com/urkonn","followers_url":"https://api.github.com/users/urkonn/followers","following_url":"https://api.github.com/users/urkonn/following{/other_user}","gists_url":"https://api.github.com/users/urkonn/gists{/gist_id}","starred_url":"https://api.github.com/users/urkonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urkonn/subscriptions","organizations_url":"https://api.github.com/users/urkonn/orgs","repos_url":"https://api.github.com/users/urkonn/repos","events_url":"https://api.github.com/users/urkonn/events{/privacy}","received_events_url":"https://api.github.com/users/urkonn/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mxabierto/madison/pulls/230/commits","review_comments_url":"https://api.github.com/repos/mxabierto/madison/pulls/230/comments","review_comment_url":"https://api.github.com/repos/mxabierto/madison/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mxabierto/madison/issues/230/comments","statuses_url":"https://api.github.com/repos/mxabierto/madison/statuses/85e508d2ffdaeb3c0bf3c87962699722cfb57d99","head":{"label":"mxabierto:bugfixes/user-can-edit-breach-and-docs-index-redirect","ref":"bugfixes/user-can-edit-breach-and-docs-index-redirect","sha":"85e508d2ffdaeb3c0bf3c87962699722cfb57d99","user":{"login":"mxabierto","id":6219557,"avatar_url":"https://avatars.githubusercontent.com/u/6219557?v=3","gravatar_id":"","url":"https://api.github.com/users/mxabierto","html_url":"https://github.com/mxabierto","followers_url":"https://api.github.com/users/mxabierto/followers","following_url":"https://api.github.com/users/mxabierto/following{/other_user}","gists_url":"https://api.github.com/users/mxabierto/gists{/gist_id}","starred_url":"https://api.github.com/users/mxabierto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxabierto/subscriptions","organizations_url":"https://api.github.com/users/mxabierto/orgs","repos_url":"https://api.github.com/users/mxabierto/repos","events_url":"https://api.github.com/users/mxabierto/events{/privacy}","received_events_url":"https://api.github.com/users/mxabierto/received_events","type":"Organization","site_admin":false},"repo":{"id":27739302,"name":"madison","full_name":"mxabierto/madison","owner":{"login":"mxabierto","id":6219557,"avatar_url":"https://avatars.githubusercontent.com/u/6219557?v=3","gravatar_id":"","url":"https://api.github.com/users/mxabierto","html_url":"https://github.com/mxabierto","followers_url":"https://api.github.com/users/mxabierto/followers","following_url":"https://api.github.com/users/mxabierto/following{/other_user}","gists_url":"https://api.github.com/users/mxabierto/gists{/gist_id}","starred_url":"https://api.github.com/users/mxabierto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxabierto/subscriptions","organizations_url":"https://api.github.com/users/mxabierto/orgs","repos_url":"https://api.github.com/users/mxabierto/repos","events_url":"https://api.github.com/users/mxabierto/events{/privacy}","received_events_url":"https://api.github.com/users/mxabierto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mxabierto/madison","description":"Madison 2.0","fork":true,"url":"https://api.github.com/repos/mxabierto/madison","forks_url":"https://api.github.com/repos/mxabierto/madison/forks","keys_url":"https://api.github.com/repos/mxabierto/madison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxabierto/madison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxabierto/madison/teams","hooks_url":"https://api.github.com/repos/mxabierto/madison/hooks","issue_events_url":"https://api.github.com/repos/mxabierto/madison/issues/events{/number}","events_url":"https://api.github.com/repos/mxabierto/madison/events","assignees_url":"https://api.github.com/repos/mxabierto/madison/assignees{/user}","branches_url":"https://api.github.com/repos/mxabierto/madison/branches{/branch}","tags_url":"https://api.github.com/repos/mxabierto/madison/tags","blobs_url":"https://api.github.com/repos/mxabierto/madison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxabierto/madison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxabierto/madison/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxabierto/madison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxabierto/madison/statuses/{sha}","languages_url":"https://api.github.com/repos/mxabierto/madison/languages","stargazers_url":"https://api.github.com/repos/mxabierto/madison/stargazers","contributors_url":"https://api.github.com/repos/mxabierto/madison/contributors","subscribers_url":"https://api.github.com/repos/mxabierto/madison/subscribers","subscription_url":"https://api.github.com/repos/mxabierto/madison/subscription","commits_url":"https://api.github.com/repos/mxabierto/madison/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxabierto/madison/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxabierto/madison/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxabierto/madison/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxabierto/madison/contents/{+path}","compare_url":"https://api.github.com/repos/mxabierto/madison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxabierto/madison/merges","archive_url":"https://api.github.com/repos/mxabierto/madison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxabierto/madison/downloads","issues_url":"https://api.github.com/repos/mxabierto/madison/issues{/number}","pulls_url":"https://api.github.com/repos/mxabierto/madison/pulls{/number}","milestones_url":"https://api.github.com/repos/mxabierto/madison/milestones{/number}","notifications_url":"https://api.github.com/repos/mxabierto/madison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxabierto/madison/labels{/name}","releases_url":"https://api.github.com/repos/mxabierto/madison/releases{/id}","created_at":"2014-12-08T22:57:46Z","updated_at":"2015-05-07T17:26:25Z","pushed_at":"2015-05-12T22:47:15Z","git_url":"git://github.com/mxabierto/madison.git","ssh_url":"git@github.com:mxabierto/madison.git","clone_url":"https://github.com/mxabierto/madison.git","svn_url":"https://github.com/mxabierto/madison","homepage":null,"size":100944,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":63,"forks":0,"open_issues":63,"watchers":0,"default_branch":"master"}},"base":{"label":"mxabierto:master","ref":"master","sha":"902d21ab755d9e88162ce26ba301cc579437d7ce","user":{"login":"mxabierto","id":6219557,"avatar_url":"https://avatars.githubusercontent.com/u/6219557?v=3","gravatar_id":"","url":"https://api.github.com/users/mxabierto","html_url":"https://github.com/mxabierto","followers_url":"https://api.github.com/users/mxabierto/followers","following_url":"https://api.github.com/users/mxabierto/following{/other_user}","gists_url":"https://api.github.com/users/mxabierto/gists{/gist_id}","starred_url":"https://api.github.com/users/mxabierto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxabierto/subscriptions","organizations_url":"https://api.github.com/users/mxabierto/orgs","repos_url":"https://api.github.com/users/mxabierto/repos","events_url":"https://api.github.com/users/mxabierto/events{/privacy}","received_events_url":"https://api.github.com/users/mxabierto/received_events","type":"Organization","site_admin":false},"repo":{"id":27739302,"name":"madison","full_name":"mxabierto/madison","owner":{"login":"mxabierto","id":6219557,"avatar_url":"https://avatars.githubusercontent.com/u/6219557?v=3","gravatar_id":"","url":"https://api.github.com/users/mxabierto","html_url":"https://github.com/mxabierto","followers_url":"https://api.github.com/users/mxabierto/followers","following_url":"https://api.github.com/users/mxabierto/following{/other_user}","gists_url":"https://api.github.com/users/mxabierto/gists{/gist_id}","starred_url":"https://api.github.com/users/mxabierto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxabierto/subscriptions","organizations_url":"https://api.github.com/users/mxabierto/orgs","repos_url":"https://api.github.com/users/mxabierto/repos","events_url":"https://api.github.com/users/mxabierto/events{/privacy}","received_events_url":"https://api.github.com/users/mxabierto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mxabierto/madison","description":"Madison 2.0","fork":true,"url":"https://api.github.com/repos/mxabierto/madison","forks_url":"https://api.github.com/repos/mxabierto/madison/forks","keys_url":"https://api.github.com/repos/mxabierto/madison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxabierto/madison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxabierto/madison/teams","hooks_url":"https://api.github.com/repos/mxabierto/madison/hooks","issue_events_url":"https://api.github.com/repos/mxabierto/madison/issues/events{/number}","events_url":"https://api.github.com/repos/mxabierto/madison/events","assignees_url":"https://api.github.com/repos/mxabierto/madison/assignees{/user}","branches_url":"https://api.github.com/repos/mxabierto/madison/branches{/branch}","tags_url":"https://api.github.com/repos/mxabierto/madison/tags","blobs_url":"https://api.github.com/repos/mxabierto/madison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxabierto/madison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxabierto/madison/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxabierto/madison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxabierto/madison/statuses/{sha}","languages_url":"https://api.github.com/repos/mxabierto/madison/languages","stargazers_url":"https://api.github.com/repos/mxabierto/madison/stargazers","contributors_url":"https://api.github.com/repos/mxabierto/madison/contributors","subscribers_url":"https://api.github.com/repos/mxabierto/madison/subscribers","subscription_url":"https://api.github.com/repos/mxabierto/madison/subscription","commits_url":"https://api.github.com/repos/mxabierto/madison/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxabierto/madison/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxabierto/madison/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxabierto/madison/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxabierto/madison/contents/{+path}","compare_url":"https://api.github.com/repos/mxabierto/madison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxabierto/madison/merges","archive_url":"https://api.github.com/repos/mxabierto/madison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxabierto/madison/downloads","issues_url":"https://api.github.com/repos/mxabierto/madison/issues{/number}","pulls_url":"https://api.github.com/repos/mxabierto/madison/pulls{/number}","milestones_url":"https://api.github.com/repos/mxabierto/madison/milestones{/number}","notifications_url":"https://api.github.com/repos/mxabierto/madison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxabierto/madison/labels{/name}","releases_url":"https://api.github.com/repos/mxabierto/madison/releases{/id}","created_at":"2014-12-08T22:57:46Z","updated_at":"2015-05-07T17:26:25Z","pushed_at":"2015-05-12T22:47:15Z","git_url":"git://github.com/mxabierto/madison.git","ssh_url":"git@github.com:mxabierto/madison.git","clone_url":"https://github.com/mxabierto/madison.git","svn_url":"https://github.com/mxabierto/madison","homepage":null,"size":100944,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":63,"forks":0,"open_issues":63,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mxabierto/madison/pulls/230"},"html":{"href":"https://github.com/mxabierto/madison/pull/230"},"issue":{"href":"https://api.github.com/repos/mxabierto/madison/issues/230"},"comments":{"href":"https://api.github.com/repos/mxabierto/madison/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/mxabierto/madison/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/mxabierto/madison/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mxabierto/madison/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/mxabierto/madison/statuses/85e508d2ffdaeb3c0bf3c87962699722cfb57d99"}}}}