{"action":"created","comment":{"url":"https://api.github.com/repos/bcheng90/Barter/pulls/comments/28744078","id":28744078,"diff_hunk":"@@ -60,6 +60,16 @@ angular.module('barter')\n     UserService.update(user);\n   };\n \n+  this.updateTalent = function(talent) {\n+    console.log(talent);\n+    $http.put('/talents/' + talent.id, talent)\n+    .success(function(response){\n+      console.log(response);\n+      this.loadUserGraph();","path":"app/assets/javascripts/controllers/controllers.js","position":9,"original_position":9,"commit_id":"918a8433a1fa7d06c4ffaf7a3c0839e7bfcad66c","original_commit_id":"918a8433a1fa7d06c4ffaf7a3c0839e7bfcad66c","user":{"login":"stevecass","id":1823156,"avatar_url":"https://avatars.githubusercontent.com/u/1823156?v=3","gravatar_id":"","url":"https://api.github.com/users/stevecass","html_url":"https://github.com/stevecass","followers_url":"https://api.github.com/users/stevecass/followers","following_url":"https://api.github.com/users/stevecass/following{/other_user}","gists_url":"https://api.github.com/users/stevecass/gists{/gist_id}","starred_url":"https://api.github.com/users/stevecass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevecass/subscriptions","organizations_url":"https://api.github.com/users/stevecass/orgs","repos_url":"https://api.github.com/users/stevecass/repos","events_url":"https://api.github.com/users/stevecass/events{/privacy}","received_events_url":"https://api.github.com/users/stevecass/received_events","type":"User","site_admin":false},"body":"Or you could do the ```var that = this;``` trick on line 64 and call that.loadUserGraph();","created_at":"2015-04-21T01:30:35Z","updated_at":"2015-04-21T01:30:35Z","html_url":"https://github.com/bcheng90/Barter/pull/32#discussion_r28744078","pull_request_url":"https://api.github.com/repos/bcheng90/Barter/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/bcheng90/Barter/pulls/comments/28744078"},"html":{"href":"https://github.com/bcheng90/Barter/pull/32#discussion_r28744078"},"pull_request":{"href":"https://api.github.com/repos/bcheng90/Barter/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/bcheng90/Barter/pulls/32","id":33713170,"html_url":"https://github.com/bcheng90/Barter/pull/32","diff_url":"https://github.com/bcheng90/Barter/pull/32.diff","patch_url":"https://github.com/bcheng90/Barter/pull/32.patch","issue_url":"https://api.github.com/repos/bcheng90/Barter/issues/32","number":32,"state":"closed","locked":false,"title":"Edit talentlist","user":{"login":"bcheng90","id":9712099,"avatar_url":"https://avatars.githubusercontent.com/u/9712099?v=3","gravatar_id":"","url":"https://api.github.com/users/bcheng90","html_url":"https://github.com/bcheng90","followers_url":"https://api.github.com/users/bcheng90/followers","following_url":"https://api.github.com/users/bcheng90/following{/other_user}","gists_url":"https://api.github.com/users/bcheng90/gists{/gist_id}","starred_url":"https://api.github.com/users/bcheng90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcheng90/subscriptions","organizations_url":"https://api.github.com/users/bcheng90/orgs","repos_url":"https://api.github.com/users/bcheng90/repos","events_url":"https://api.github.com/users/bcheng90/events{/privacy}","received_events_url":"https://api.github.com/users/bcheng90/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-20T22:40:15Z","updated_at":"2015-04-21T01:30:35Z","closed_at":"2015-04-20T22:40:52Z","merged_at":"2015-04-20T22:40:52Z","merge_commit_sha":"0dd87639d238bba0af069a3552ca0f613418e748","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcheng90/Barter/pulls/32/commits","review_comments_url":"https://api.github.com/repos/bcheng90/Barter/pulls/32/comments","review_comment_url":"https://api.github.com/repos/bcheng90/Barter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcheng90/Barter/issues/32/comments","statuses_url":"https://api.github.com/repos/bcheng90/Barter/statuses/918a8433a1fa7d06c4ffaf7a3c0839e7bfcad66c","head":{"label":"bcheng90:edit-talentlist","ref":"edit-talentlist","sha":"918a8433a1fa7d06c4ffaf7a3c0839e7bfcad66c","user":{"login":"bcheng90","id":9712099,"avatar_url":"https://avatars.githubusercontent.com/u/9712099?v=3","gravatar_id":"","url":"https://api.github.com/users/bcheng90","html_url":"https://github.com/bcheng90","followers_url":"https://api.github.com/users/bcheng90/followers","following_url":"https://api.github.com/users/bcheng90/following{/other_user}","gists_url":"https://api.github.com/users/bcheng90/gists{/gist_id}","starred_url":"https://api.github.com/users/bcheng90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcheng90/subscriptions","organizations_url":"https://api.github.com/users/bcheng90/orgs","repos_url":"https://api.github.com/users/bcheng90/repos","events_url":"https://api.github.com/users/bcheng90/events{/privacy}","received_events_url":"https://api.github.com/users/bcheng90/received_events","type":"User","site_admin":false},"repo":{"id":34075318,"name":"Barter","full_name":"bcheng90/Barter","owner":{"login":"bcheng90","id":9712099,"avatar_url":"https://avatars.githubusercontent.com/u/9712099?v=3","gravatar_id":"","url":"https://api.github.com/users/bcheng90","html_url":"https://github.com/bcheng90","followers_url":"https://api.github.com/users/bcheng90/followers","following_url":"https://api.github.com/users/bcheng90/following{/other_user}","gists_url":"https://api.github.com/users/bcheng90/gists{/gist_id}","starred_url":"https://api.github.com/users/bcheng90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcheng90/subscriptions","organizations_url":"https://api.github.com/users/bcheng90/orgs","repos_url":"https://api.github.com/users/bcheng90/repos","events_url":"https://api.github.com/users/bcheng90/events{/privacy}","received_events_url":"https://api.github.com/users/bcheng90/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcheng90/Barter","description":"Trade your talents","fork":false,"url":"https://api.github.com/repos/bcheng90/Barter","forks_url":"https://api.github.com/repos/bcheng90/Barter/forks","keys_url":"https://api.github.com/repos/bcheng90/Barter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcheng90/Barter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcheng90/Barter/teams","hooks_url":"https://api.github.com/repos/bcheng90/Barter/hooks","issue_events_url":"https://api.github.com/repos/bcheng90/Barter/issues/events{/number}","events_url":"https://api.github.com/repos/bcheng90/Barter/events","assignees_url":"https://api.github.com/repos/bcheng90/Barter/assignees{/user}","branches_url":"https://api.github.com/repos/bcheng90/Barter/branches{/branch}","tags_url":"https://api.github.com/repos/bcheng90/Barter/tags","blobs_url":"https://api.github.com/repos/bcheng90/Barter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcheng90/Barter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcheng90/Barter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcheng90/Barter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcheng90/Barter/statuses/{sha}","languages_url":"https://api.github.com/repos/bcheng90/Barter/languages","stargazers_url":"https://api.github.com/repos/bcheng90/Barter/stargazers","contributors_url":"https://api.github.com/repos/bcheng90/Barter/contributors","subscribers_url":"https://api.github.com/repos/bcheng90/Barter/subscribers","subscription_url":"https://api.github.com/repos/bcheng90/Barter/subscription","commits_url":"https://api.github.com/repos/bcheng90/Barter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcheng90/Barter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcheng90/Barter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcheng90/Barter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcheng90/Barter/contents/{+path}","compare_url":"https://api.github.com/repos/bcheng90/Barter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcheng90/Barter/merges","archive_url":"https://api.github.com/repos/bcheng90/Barter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcheng90/Barter/downloads","issues_url":"https://api.github.com/repos/bcheng90/Barter/issues{/number}","pulls_url":"https://api.github.com/repos/bcheng90/Barter/pulls{/number}","milestones_url":"https://api.github.com/repos/bcheng90/Barter/milestones{/number}","notifications_url":"https://api.github.com/repos/bcheng90/Barter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcheng90/Barter/labels{/name}","releases_url":"https://api.github.com/repos/bcheng90/Barter/releases{/id}","created_at":"2015-04-16T19:10:38Z","updated_at":"2015-04-20T23:49:47Z","pushed_at":"2015-04-20T23:49:47Z","git_url":"git://github.com/bcheng90/Barter.git","ssh_url":"git@github.com:bcheng90/Barter.git","clone_url":"https://github.com/bcheng90/Barter.git","svn_url":"https://github.com/bcheng90/Barter","homepage":null,"size":725,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bcheng90:master","ref":"master","sha":"875ebb57bc281eaf634d01d6536b9bfaa6878474","user":{"login":"bcheng90","id":9712099,"avatar_url":"https://avatars.githubusercontent.com/u/9712099?v=3","gravatar_id":"","url":"https://api.github.com/users/bcheng90","html_url":"https://github.com/bcheng90","followers_url":"https://api.github.com/users/bcheng90/followers","following_url":"https://api.github.com/users/bcheng90/following{/other_user}","gists_url":"https://api.github.com/users/bcheng90/gists{/gist_id}","starred_url":"https://api.github.com/users/bcheng90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcheng90/subscriptions","organizations_url":"https://api.github.com/users/bcheng90/orgs","repos_url":"https://api.github.com/users/bcheng90/repos","events_url":"https://api.github.com/users/bcheng90/events{/privacy}","received_events_url":"https://api.github.com/users/bcheng90/received_events","type":"User","site_admin":false},"repo":{"id":34075318,"name":"Barter","full_name":"bcheng90/Barter","owner":{"login":"bcheng90","id":9712099,"avatar_url":"https://avatars.githubusercontent.com/u/9712099?v=3","gravatar_id":"","url":"https://api.github.com/users/bcheng90","html_url":"https://github.com/bcheng90","followers_url":"https://api.github.com/users/bcheng90/followers","following_url":"https://api.github.com/users/bcheng90/following{/other_user}","gists_url":"https://api.github.com/users/bcheng90/gists{/gist_id}","starred_url":"https://api.github.com/users/bcheng90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcheng90/subscriptions","organizations_url":"https://api.github.com/users/bcheng90/orgs","repos_url":"https://api.github.com/users/bcheng90/repos","events_url":"https://api.github.com/users/bcheng90/events{/privacy}","received_events_url":"https://api.github.com/users/bcheng90/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcheng90/Barter","description":"Trade your talents","fork":false,"url":"https://api.github.com/repos/bcheng90/Barter","forks_url":"https://api.github.com/repos/bcheng90/Barter/forks","keys_url":"https://api.github.com/repos/bcheng90/Barter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcheng90/Barter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcheng90/Barter/teams","hooks_url":"https://api.github.com/repos/bcheng90/Barter/hooks","issue_events_url":"https://api.github.com/repos/bcheng90/Barter/issues/events{/number}","events_url":"https://api.github.com/repos/bcheng90/Barter/events","assignees_url":"https://api.github.com/repos/bcheng90/Barter/assignees{/user}","branches_url":"https://api.github.com/repos/bcheng90/Barter/branches{/branch}","tags_url":"https://api.github.com/repos/bcheng90/Barter/tags","blobs_url":"https://api.github.com/repos/bcheng90/Barter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcheng90/Barter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcheng90/Barter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcheng90/Barter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcheng90/Barter/statuses/{sha}","languages_url":"https://api.github.com/repos/bcheng90/Barter/languages","stargazers_url":"https://api.github.com/repos/bcheng90/Barter/stargazers","contributors_url":"https://api.github.com/repos/bcheng90/Barter/contributors","subscribers_url":"https://api.github.com/repos/bcheng90/Barter/subscribers","subscription_url":"https://api.github.com/repos/bcheng90/Barter/subscription","commits_url":"https://api.github.com/repos/bcheng90/Barter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcheng90/Barter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcheng90/Barter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcheng90/Barter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcheng90/Barter/contents/{+path}","compare_url":"https://api.github.com/repos/bcheng90/Barter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcheng90/Barter/merges","archive_url":"https://api.github.com/repos/bcheng90/Barter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcheng90/Barter/downloads","issues_url":"https://api.github.com/repos/bcheng90/Barter/issues{/number}","pulls_url":"https://api.github.com/repos/bcheng90/Barter/pulls{/number}","milestones_url":"https://api.github.com/repos/bcheng90/Barter/milestones{/number}","notifications_url":"https://api.github.com/repos/bcheng90/Barter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcheng90/Barter/labels{/name}","releases_url":"https://api.github.com/repos/bcheng90/Barter/releases{/id}","created_at":"2015-04-16T19:10:38Z","updated_at":"2015-04-20T23:49:47Z","pushed_at":"2015-04-20T23:49:47Z","git_url":"git://github.com/bcheng90/Barter.git","ssh_url":"git@github.com:bcheng90/Barter.git","clone_url":"https://github.com/bcheng90/Barter.git","svn_url":"https://github.com/bcheng90/Barter","homepage":null,"size":725,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcheng90/Barter/pulls/32"},"html":{"href":"https://github.com/bcheng90/Barter/pull/32"},"issue":{"href":"https://api.github.com/repos/bcheng90/Barter/issues/32"},"comments":{"href":"https://api.github.com/repos/bcheng90/Barter/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/bcheng90/Barter/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/bcheng90/Barter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcheng90/Barter/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/bcheng90/Barter/statuses/918a8433a1fa7d06c4ffaf7a3c0839e7bfcad66c"}}}}