{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_33/pulls/comments/37960158","id":37960158,"diff_hunk":"@@ -0,0 +1,7 @@\n+class CoursesController < ApplicationController\n+  load_and_authorize_resource\n+\n+  def show\n+    @course = Course.find params[:id]","path":"app/controllers/courses_controller.rb","position":5,"original_position":5,"commit_id":"a61d67f11143745ba55edb88ed33320d9e9311f9","original_commit_id":"a61d67f11143745ba55edb88ed33320d9e9311f9","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"no need","created_at":"2015-08-26T09:02:11Z","updated_at":"2015-08-26T09:02:11Z","html_url":"https://github.com/framgia/tms_33/pull/12#discussion_r37960158","pull_request_url":"https://api.github.com/repos/framgia/tms_33/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_33/pulls/comments/37960158"},"html":{"href":"https://github.com/framgia/tms_33/pull/12#discussion_r37960158"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_33/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_33/pulls/12","id":43360311,"html_url":"https://github.com/framgia/tms_33/pull/12","diff_url":"https://github.com/framgia/tms_33/pull/12.diff","patch_url":"https://github.com/framgia/tms_33/pull/12.patch","issue_url":"https://api.github.com/repos/framgia/tms_33/issues/12","number":12,"state":"open","locked":false,"title":"Trainee can see classmate","user":{"login":"Tranchinhthuc","id":10952083,"avatar_url":"https://avatars.githubusercontent.com/u/10952083?v=3","gravatar_id":"","url":"https://api.github.com/users/Tranchinhthuc","html_url":"https://github.com/Tranchinhthuc","followers_url":"https://api.github.com/users/Tranchinhthuc/followers","following_url":"https://api.github.com/users/Tranchinhthuc/following{/other_user}","gists_url":"https://api.github.com/users/Tranchinhthuc/gists{/gist_id}","starred_url":"https://api.github.com/users/Tranchinhthuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tranchinhthuc/subscriptions","organizations_url":"https://api.github.com/users/Tranchinhthuc/orgs","repos_url":"https://api.github.com/users/Tranchinhthuc/repos","events_url":"https://api.github.com/users/Tranchinhthuc/events{/privacy}","received_events_url":"https://api.github.com/users/Tranchinhthuc/received_events","type":"User","site_admin":false},"body":"Trainee can see members of course","created_at":"2015-08-26T03:17:31Z","updated_at":"2015-08-26T09:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffce2437ffe901e825fad9ecea32c116c0473707","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_33/pulls/12/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_33/pulls/12/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_33/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_33/issues/12/comments","statuses_url":"https://api.github.com/repos/framgia/tms_33/statuses/a61d67f11143745ba55edb88ed33320d9e9311f9","head":{"label":"Tranchinhthuc:trainee_can_see_members_of_course","ref":"trainee_can_see_members_of_course","sha":"a61d67f11143745ba55edb88ed33320d9e9311f9","user":{"login":"Tranchinhthuc","id":10952083,"avatar_url":"https://avatars.githubusercontent.com/u/10952083?v=3","gravatar_id":"","url":"https://api.github.com/users/Tranchinhthuc","html_url":"https://github.com/Tranchinhthuc","followers_url":"https://api.github.com/users/Tranchinhthuc/followers","following_url":"https://api.github.com/users/Tranchinhthuc/following{/other_user}","gists_url":"https://api.github.com/users/Tranchinhthuc/gists{/gist_id}","starred_url":"https://api.github.com/users/Tranchinhthuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tranchinhthuc/subscriptions","organizations_url":"https://api.github.com/users/Tranchinhthuc/orgs","repos_url":"https://api.github.com/users/Tranchinhthuc/repos","events_url":"https://api.github.com/users/Tranchinhthuc/events{/privacy}","received_events_url":"https://api.github.com/users/Tranchinhthuc/received_events","type":"User","site_admin":false},"repo":{"id":41011085,"name":"tms_33","full_name":"Tranchinhthuc/tms_33","owner":{"login":"Tranchinhthuc","id":10952083,"avatar_url":"https://avatars.githubusercontent.com/u/10952083?v=3","gravatar_id":"","url":"https://api.github.com/users/Tranchinhthuc","html_url":"https://github.com/Tranchinhthuc","followers_url":"https://api.github.com/users/Tranchinhthuc/followers","following_url":"https://api.github.com/users/Tranchinhthuc/following{/other_user}","gists_url":"https://api.github.com/users/Tranchinhthuc/gists{/gist_id}","starred_url":"https://api.github.com/users/Tranchinhthuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tranchinhthuc/subscriptions","organizations_url":"https://api.github.com/users/Tranchinhthuc/orgs","repos_url":"https://api.github.com/users/Tranchinhthuc/repos","events_url":"https://api.github.com/users/Tranchinhthuc/events{/privacy}","received_events_url":"https://api.github.com/users/Tranchinhthuc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tranchinhthuc/tms_33","description":"Framgia Training Managment System (training)","fork":true,"url":"https://api.github.com/repos/Tranchinhthuc/tms_33","forks_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/forks","keys_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/teams","hooks_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/hooks","issue_events_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/issues/events{/number}","events_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/events","assignees_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/assignees{/user}","branches_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/branches{/branch}","tags_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/tags","blobs_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/statuses/{sha}","languages_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/languages","stargazers_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/stargazers","contributors_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/contributors","subscribers_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/subscribers","subscription_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/subscription","commits_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/contents/{+path}","compare_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/merges","archive_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/downloads","issues_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/issues{/number}","pulls_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/pulls{/number}","milestones_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/milestones{/number}","notifications_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/labels{/name}","releases_url":"https://api.github.com/repos/Tranchinhthuc/tms_33/releases{/id}","created_at":"2015-08-19T03:25:32Z","updated_at":"2015-08-03T03:12:20Z","pushed_at":"2015-08-26T09:00:49Z","git_url":"git://github.com/Tranchinhthuc/tms_33.git","ssh_url":"git@github.com:Tranchinhthuc/tms_33.git","clone_url":"https://github.com/Tranchinhthuc/tms_33.git","svn_url":"https://github.com/Tranchinhthuc/tms_33","homepage":null,"size":171,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"framgia:develop","ref":"develop","sha":"0b2f7946577697b770189e69afb68c35839549ae","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":40102720,"name":"tms_33","full_name":"framgia/tms_33","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/tms_33","description":"Framgia Training Managment System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_33","forks_url":"https://api.github.com/repos/framgia/tms_33/forks","keys_url":"https://api.github.com/repos/framgia/tms_33/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_33/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_33/teams","hooks_url":"https://api.github.com/repos/framgia/tms_33/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_33/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_33/events","assignees_url":"https://api.github.com/repos/framgia/tms_33/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_33/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_33/tags","blobs_url":"https://api.github.com/repos/framgia/tms_33/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_33/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_33/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_33/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_33/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_33/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_33/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_33/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_33/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_33/subscription","commits_url":"https://api.github.com/repos/framgia/tms_33/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_33/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_33/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_33/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_33/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_33/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_33/merges","archive_url":"https://api.github.com/repos/framgia/tms_33/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_33/downloads","issues_url":"https://api.github.com/repos/framgia/tms_33/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_33/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_33/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_33/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_33/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_33/releases{/id}","created_at":"2015-08-03T03:12:20Z","updated_at":"2015-08-03T03:12:20Z","pushed_at":"2015-08-26T09:00:49Z","git_url":"git://github.com/framgia/tms_33.git","ssh_url":"git@github.com:framgia/tms_33.git","clone_url":"https://github.com/framgia/tms_33.git","svn_url":"https://github.com/framgia/tms_33","homepage":null,"size":375,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_33/pulls/12"},"html":{"href":"https://github.com/framgia/tms_33/pull/12"},"issue":{"href":"https://api.github.com/repos/framgia/tms_33/issues/12"},"comments":{"href":"https://api.github.com/repos/framgia/tms_33/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_33/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_33/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_33/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_33/statuses/a61d67f11143745ba55edb88ed33320d9e9311f9"}}}}