{"action":"created","comment":{"url":"https://api.github.com/repos/GrowMoi/moi/pulls/comments/27784225","id":27784225,"diff_hunk":"@@ -40,6 +46,10 @@ class NeuronsController < AdminController::Base\n       decorate neuron\n     }\n \n+    expose(:neurons_for_tree){\n+      authorize! neurons","path":"app/controllers/admin/neurons_controller.rb","position":20,"original_position":20,"commit_id":"18ea42d5781a580ddb88a0586b7069ad4c4b3d14","original_commit_id":"18ea42d5781a580ddb88a0586b7069ad4c4b3d14","user":{"login":"macool","id":1407000,"avatar_url":"https://avatars.githubusercontent.com/u/1407000?v=3","gravatar_id":"","url":"https://api.github.com/users/macool","html_url":"https://github.com/macool","followers_url":"https://api.github.com/users/macool/followers","following_url":"https://api.github.com/users/macool/following{/other_user}","gists_url":"https://api.github.com/users/macool/gists{/gist_id}","starred_url":"https://api.github.com/users/macool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macool/subscriptions","organizations_url":"https://api.github.com/users/macool/orgs","repos_url":"https://api.github.com/users/macool/repos","events_url":"https://api.github.com/users/macool/events{/privacy}","received_events_url":"https://api.github.com/users/macool/received_events","type":"User","site_admin":false},"body":"WTF?","created_at":"2015-04-06T03:41:32Z","updated_at":"2015-04-06T03:41:32Z","html_url":"https://github.com/GrowMoi/moi/pull/51#discussion_r27784225","pull_request_url":"https://api.github.com/repos/GrowMoi/moi/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/GrowMoi/moi/pulls/comments/27784225"},"html":{"href":"https://github.com/GrowMoi/moi/pull/51#discussion_r27784225"},"pull_request":{"href":"https://api.github.com/repos/GrowMoi/moi/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/GrowMoi/moi/pulls/51","id":32638874,"html_url":"https://github.com/GrowMoi/moi/pull/51","diff_url":"https://github.com/GrowMoi/moi/pull/51.diff","patch_url":"https://github.com/GrowMoi/moi/pull/51.patch","issue_url":"https://api.github.com/repos/GrowMoi/moi/issues/51","number":51,"state":"open","locked":false,"title":"Add remove / restore functionality to neuron","user":{"login":"fabricioflores","id":3495122,"avatar_url":"https://avatars.githubusercontent.com/u/3495122?v=3","gravatar_id":"","url":"https://api.github.com/users/fabricioflores","html_url":"https://github.com/fabricioflores","followers_url":"https://api.github.com/users/fabricioflores/followers","following_url":"https://api.github.com/users/fabricioflores/following{/other_user}","gists_url":"https://api.github.com/users/fabricioflores/gists{/gist_id}","starred_url":"https://api.github.com/users/fabricioflores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabricioflores/subscriptions","organizations_url":"https://api.github.com/users/fabricioflores/orgs","repos_url":"https://api.github.com/users/fabricioflores/repos","events_url":"https://api.github.com/users/fabricioflores/events{/privacy}","received_events_url":"https://api.github.com/users/fabricioflores/received_events","type":"User","site_admin":false},"body":"[podio-history](https://podio.com/vilcabamba/moi/apps/historias/items/4)","created_at":"2015-04-04T20:08:32Z","updated_at":"2015-04-06T03:41:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70fceac32113518ab36ef4527fc2d0fde9975953","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GrowMoi/moi/pulls/51/commits","review_comments_url":"https://api.github.com/repos/GrowMoi/moi/pulls/51/comments","review_comment_url":"https://api.github.com/repos/GrowMoi/moi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GrowMoi/moi/issues/51/comments","statuses_url":"https://api.github.com/repos/GrowMoi/moi/statuses/18ea42d5781a580ddb88a0586b7069ad4c4b3d14","head":{"label":"GrowMoi:hsa-001-deleted-nodes","ref":"hsa-001-deleted-nodes","sha":"18ea42d5781a580ddb88a0586b7069ad4c4b3d14","user":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"repo":{"id":29950629,"name":"moi","full_name":"GrowMoi/moi","owner":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrowMoi/moi","description":"","fork":false,"url":"https://api.github.com/repos/GrowMoi/moi","forks_url":"https://api.github.com/repos/GrowMoi/moi/forks","keys_url":"https://api.github.com/repos/GrowMoi/moi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrowMoi/moi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrowMoi/moi/teams","hooks_url":"https://api.github.com/repos/GrowMoi/moi/hooks","issue_events_url":"https://api.github.com/repos/GrowMoi/moi/issues/events{/number}","events_url":"https://api.github.com/repos/GrowMoi/moi/events","assignees_url":"https://api.github.com/repos/GrowMoi/moi/assignees{/user}","branches_url":"https://api.github.com/repos/GrowMoi/moi/branches{/branch}","tags_url":"https://api.github.com/repos/GrowMoi/moi/tags","blobs_url":"https://api.github.com/repos/GrowMoi/moi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrowMoi/moi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrowMoi/moi/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrowMoi/moi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrowMoi/moi/statuses/{sha}","languages_url":"https://api.github.com/repos/GrowMoi/moi/languages","stargazers_url":"https://api.github.com/repos/GrowMoi/moi/stargazers","contributors_url":"https://api.github.com/repos/GrowMoi/moi/contributors","subscribers_url":"https://api.github.com/repos/GrowMoi/moi/subscribers","subscription_url":"https://api.github.com/repos/GrowMoi/moi/subscription","commits_url":"https://api.github.com/repos/GrowMoi/moi/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrowMoi/moi/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrowMoi/moi/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrowMoi/moi/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrowMoi/moi/contents/{+path}","compare_url":"https://api.github.com/repos/GrowMoi/moi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrowMoi/moi/merges","archive_url":"https://api.github.com/repos/GrowMoi/moi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrowMoi/moi/downloads","issues_url":"https://api.github.com/repos/GrowMoi/moi/issues{/number}","pulls_url":"https://api.github.com/repos/GrowMoi/moi/pulls{/number}","milestones_url":"https://api.github.com/repos/GrowMoi/moi/milestones{/number}","notifications_url":"https://api.github.com/repos/GrowMoi/moi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrowMoi/moi/labels{/name}","releases_url":"https://api.github.com/repos/GrowMoi/moi/releases{/id}","created_at":"2015-01-28T04:32:47Z","updated_at":"2015-03-29T17:29:04Z","pushed_at":"2015-04-04T20:08:32Z","git_url":"git://github.com/GrowMoi/moi.git","ssh_url":"git@github.com:GrowMoi/moi.git","clone_url":"https://github.com/GrowMoi/moi.git","svn_url":"https://github.com/GrowMoi/moi","homepage":null,"size":1616,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"GrowMoi:master","ref":"master","sha":"571ff0cc1bbe13ffd6e44aa7314266d7c5fe614a","user":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"repo":{"id":29950629,"name":"moi","full_name":"GrowMoi/moi","owner":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrowMoi/moi","description":"","fork":false,"url":"https://api.github.com/repos/GrowMoi/moi","forks_url":"https://api.github.com/repos/GrowMoi/moi/forks","keys_url":"https://api.github.com/repos/GrowMoi/moi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrowMoi/moi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrowMoi/moi/teams","hooks_url":"https://api.github.com/repos/GrowMoi/moi/hooks","issue_events_url":"https://api.github.com/repos/GrowMoi/moi/issues/events{/number}","events_url":"https://api.github.com/repos/GrowMoi/moi/events","assignees_url":"https://api.github.com/repos/GrowMoi/moi/assignees{/user}","branches_url":"https://api.github.com/repos/GrowMoi/moi/branches{/branch}","tags_url":"https://api.github.com/repos/GrowMoi/moi/tags","blobs_url":"https://api.github.com/repos/GrowMoi/moi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrowMoi/moi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrowMoi/moi/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrowMoi/moi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrowMoi/moi/statuses/{sha}","languages_url":"https://api.github.com/repos/GrowMoi/moi/languages","stargazers_url":"https://api.github.com/repos/GrowMoi/moi/stargazers","contributors_url":"https://api.github.com/repos/GrowMoi/moi/contributors","subscribers_url":"https://api.github.com/repos/GrowMoi/moi/subscribers","subscription_url":"https://api.github.com/repos/GrowMoi/moi/subscription","commits_url":"https://api.github.com/repos/GrowMoi/moi/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrowMoi/moi/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrowMoi/moi/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrowMoi/moi/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrowMoi/moi/contents/{+path}","compare_url":"https://api.github.com/repos/GrowMoi/moi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrowMoi/moi/merges","archive_url":"https://api.github.com/repos/GrowMoi/moi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrowMoi/moi/downloads","issues_url":"https://api.github.com/repos/GrowMoi/moi/issues{/number}","pulls_url":"https://api.github.com/repos/GrowMoi/moi/pulls{/number}","milestones_url":"https://api.github.com/repos/GrowMoi/moi/milestones{/number}","notifications_url":"https://api.github.com/repos/GrowMoi/moi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrowMoi/moi/labels{/name}","releases_url":"https://api.github.com/repos/GrowMoi/moi/releases{/id}","created_at":"2015-01-28T04:32:47Z","updated_at":"2015-03-29T17:29:04Z","pushed_at":"2015-04-04T20:08:32Z","git_url":"git://github.com/GrowMoi/moi.git","ssh_url":"git@github.com:GrowMoi/moi.git","clone_url":"https://github.com/GrowMoi/moi.git","svn_url":"https://github.com/GrowMoi/moi","homepage":null,"size":1616,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GrowMoi/moi/pulls/51"},"html":{"href":"https://github.com/GrowMoi/moi/pull/51"},"issue":{"href":"https://api.github.com/repos/GrowMoi/moi/issues/51"},"comments":{"href":"https://api.github.com/repos/GrowMoi/moi/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/GrowMoi/moi/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/GrowMoi/moi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GrowMoi/moi/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/GrowMoi/moi/statuses/18ea42d5781a580ddb88a0586b7069ad4c4b3d14"}}}}