{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/garnet/pulls/comments/66140574","id":66140574,"diff_hunk":"@@ -31,6 +31,9 @@\n           <td>\n             <%= link_to \"Remove\", membership_path(membership), method: :delete, data:{confirm: \"are you sure you want to delete this member?\"}%>\n           </td>\n+          <td>\n+            <%= link_to(membership.is_admin ? \"remove as admin\" : \"make admin\", toggle_admin_membership_path(membership), method: :post, data: {confirm: \"Are you sure you want to change admin status for this person?\"})%>","path":"app/views/cohorts/manage.html.erb","position":16,"original_position":16,"commit_id":"e17c1498c9e124524088af7542f2a404b04de2db","original_commit_id":"e17c1498c9e124524088af7542f2a404b04de2db","user":{"login":"nolds9","id":10698044,"avatar_url":"https://avatars.githubusercontent.com/u/10698044?v=3","gravatar_id":"","url":"https://api.github.com/users/nolds9","html_url":"https://github.com/nolds9","followers_url":"https://api.github.com/users/nolds9/followers","following_url":"https://api.github.com/users/nolds9/following{/other_user}","gists_url":"https://api.github.com/users/nolds9/gists{/gist_id}","starred_url":"https://api.github.com/users/nolds9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolds9/subscriptions","organizations_url":"https://api.github.com/users/nolds9/orgs","repos_url":"https://api.github.com/users/nolds9/repos","events_url":"https://api.github.com/users/nolds9/events{/privacy}","received_events_url":"https://api.github.com/users/nolds9/received_events","type":"User","site_admin":false},"body":"should be `put`?","created_at":"2016-06-07T19:54:30Z","updated_at":"2016-06-07T19:54:30Z","html_url":"https://github.com/ga-dc/garnet/pull/588#discussion_r66140574","pull_request_url":"https://api.github.com/repos/ga-dc/garnet/pulls/588","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/garnet/pulls/comments/66140574"},"html":{"href":"https://github.com/ga-dc/garnet/pull/588#discussion_r66140574"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/garnet/pulls/588"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/garnet/pulls/588","id":67948280,"html_url":"https://github.com/ga-dc/garnet/pull/588","diff_url":"https://github.com/ga-dc/garnet/pull/588.diff","patch_url":"https://github.com/ga-dc/garnet/pull/588.patch","issue_url":"https://api.github.com/repos/ga-dc/garnet/issues/588","number":588,"state":"open","locked":false,"title":"Fixes #531","user":{"login":"andrewsunglaekim","id":8976305,"avatar_url":"https://avatars.githubusercontent.com/u/8976305?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewsunglaekim","html_url":"https://github.com/andrewsunglaekim","followers_url":"https://api.github.com/users/andrewsunglaekim/followers","following_url":"https://api.github.com/users/andrewsunglaekim/following{/other_user}","gists_url":"https://api.github.com/users/andrewsunglaekim/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewsunglaekim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewsunglaekim/subscriptions","organizations_url":"https://api.github.com/users/andrewsunglaekim/orgs","repos_url":"https://api.github.com/users/andrewsunglaekim/repos","events_url":"https://api.github.com/users/andrewsunglaekim/events{/privacy}","received_events_url":"https://api.github.com/users/andrewsunglaekim/received_events","type":"User","site_admin":false},"body":"tests pass. Can now make members admins or de admin existing admins in cohort manage page.","created_at":"2016-04-26T19:59:36Z","updated_at":"2016-06-07T19:54:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7e7e664fb49006737dadddbd292e0acccc503b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/garnet/pulls/588/commits","review_comments_url":"https://api.github.com/repos/ga-dc/garnet/pulls/588/comments","review_comment_url":"https://api.github.com/repos/ga-dc/garnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-dc/garnet/issues/588/comments","statuses_url":"https://api.github.com/repos/ga-dc/garnet/statuses/e17c1498c9e124524088af7542f2a404b04de2db","head":{"label":"ga-dc:admin_exisiting_members","ref":"admin_exisiting_members","sha":"e17c1498c9e124524088af7542f2a404b04de2db","user":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"repo":{"id":43320430,"name":"garnet","full_name":"ga-dc/garnet","owner":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-dc/garnet","description":"Classroom Management tools","fork":false,"url":"https://api.github.com/repos/ga-dc/garnet","forks_url":"https://api.github.com/repos/ga-dc/garnet/forks","keys_url":"https://api.github.com/repos/ga-dc/garnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/garnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/garnet/teams","hooks_url":"https://api.github.com/repos/ga-dc/garnet/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/garnet/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/garnet/events","assignees_url":"https://api.github.com/repos/ga-dc/garnet/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/garnet/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/garnet/tags","blobs_url":"https://api.github.com/repos/ga-dc/garnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/garnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/garnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/garnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/garnet/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/garnet/languages","stargazers_url":"https://api.github.com/repos/ga-dc/garnet/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/garnet/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/garnet/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/garnet/subscription","commits_url":"https://api.github.com/repos/ga-dc/garnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/garnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/garnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/garnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/garnet/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/garnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/garnet/merges","archive_url":"https://api.github.com/repos/ga-dc/garnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/garnet/downloads","issues_url":"https://api.github.com/repos/ga-dc/garnet/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/garnet/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/garnet/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/garnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/garnet/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/garnet/releases{/id}","deployments_url":"https://api.github.com/repos/ga-dc/garnet/deployments","created_at":"2015-09-28T18:56:26Z","updated_at":"2016-05-09T17:14:41Z","pushed_at":"2016-06-07T19:54:16Z","git_url":"git://github.com/ga-dc/garnet.git","ssh_url":"git@github.com:ga-dc/garnet.git","clone_url":"https://github.com/ga-dc/garnet.git","svn_url":"https://github.com/ga-dc/garnet","homepage":"http://garnet.wdidc.org","size":1746,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":72,"forks":23,"open_issues":72,"watchers":11,"default_branch":"master"}},"base":{"label":"ga-dc:master","ref":"master","sha":"7f65dbece00ac8f3ab328dc5b11e3661fe9ec6f0","user":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"repo":{"id":43320430,"name":"garnet","full_name":"ga-dc/garnet","owner":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-dc/garnet","description":"Classroom Management tools","fork":false,"url":"https://api.github.com/repos/ga-dc/garnet","forks_url":"https://api.github.com/repos/ga-dc/garnet/forks","keys_url":"https://api.github.com/repos/ga-dc/garnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/garnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/garnet/teams","hooks_url":"https://api.github.com/repos/ga-dc/garnet/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/garnet/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/garnet/events","assignees_url":"https://api.github.com/repos/ga-dc/garnet/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/garnet/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/garnet/tags","blobs_url":"https://api.github.com/repos/ga-dc/garnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/garnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/garnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/garnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/garnet/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/garnet/languages","stargazers_url":"https://api.github.com/repos/ga-dc/garnet/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/garnet/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/garnet/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/garnet/subscription","commits_url":"https://api.github.com/repos/ga-dc/garnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/garnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/garnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/garnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/garnet/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/garnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/garnet/merges","archive_url":"https://api.github.com/repos/ga-dc/garnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/garnet/downloads","issues_url":"https://api.github.com/repos/ga-dc/garnet/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/garnet/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/garnet/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/garnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/garnet/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/garnet/releases{/id}","deployments_url":"https://api.github.com/repos/ga-dc/garnet/deployments","created_at":"2015-09-28T18:56:26Z","updated_at":"2016-05-09T17:14:41Z","pushed_at":"2016-06-07T19:54:16Z","git_url":"git://github.com/ga-dc/garnet.git","ssh_url":"git@github.com:ga-dc/garnet.git","clone_url":"https://github.com/ga-dc/garnet.git","svn_url":"https://github.com/ga-dc/garnet","homepage":"http://garnet.wdidc.org","size":1746,"stargazers_count":11,"watchers_count":11,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":72,"forks":23,"open_issues":72,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/garnet/pulls/588"},"html":{"href":"https://github.com/ga-dc/garnet/pull/588"},"issue":{"href":"https://api.github.com/repos/ga-dc/garnet/issues/588"},"comments":{"href":"https://api.github.com/repos/ga-dc/garnet/issues/588/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/garnet/pulls/588/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-dc/garnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-dc/garnet/pulls/588/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/garnet/statuses/e17c1498c9e124524088af7542f2a404b04de2db"}}}}
{"actor":{"display_login":"nolds9"}}