{"action":"created","comment":{"url":"https://api.github.com/repos/awesome-academy/tms_05/pulls/comments/326560271","pull_request_review_id":291070735,"id":326560271,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyNjU2MDI3MQ==","diff_hunk":"@@ -0,0 +1,54 @@\n+class Admin::SubjectsController < ApplicationController\n+  before_action :load_subject, except: [:index, :create, :new]\n+  def index","path":"app/controllers/admin/subjects_controller.rb","position":3,"original_position":3,"commit_id":"44d64f99ffe5507e43e44f4784b9148ad9585856","original_commit_id":"44d64f99ffe5507e43e44f4784b9148ad9585856","user":{"login":"vanvtt-0952","id":49464465,"node_id":"MDQ6VXNlcjQ5NDY0NDY1","avatar_url":"https://avatars2.githubusercontent.com/u/49464465?v=4","gravatar_id":"","url":"https://api.github.com/users/vanvtt-0952","html_url":"https://github.com/vanvtt-0952","followers_url":"https://api.github.com/users/vanvtt-0952/followers","following_url":"https://api.github.com/users/vanvtt-0952/following{/other_user}","gists_url":"https://api.github.com/users/vanvtt-0952/gists{/gist_id}","starred_url":"https://api.github.com/users/vanvtt-0952/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanvtt-0952/subscriptions","organizations_url":"https://api.github.com/users/vanvtt-0952/orgs","repos_url":"https://api.github.com/users/vanvtt-0952/repos","events_url":"https://api.github.com/users/vanvtt-0952/events{/privacy}","received_events_url":"https://api.github.com/users/vanvtt-0952/received_events","type":"User","site_admin":false},"body":"line trống trước line này\r\n\r\nmà controller này ko cần check quyền admin và check xem đã login chưa ah?","created_at":"2019-09-20T10:05:09Z","updated_at":"2019-09-20T10:07:40Z","html_url":"https://github.com/awesome-academy/tms_05/pull/7#discussion_r326560271","pull_request_url":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/tms_05/pulls/comments/326560271"},"html":{"href":"https://github.com/awesome-academy/tms_05/pull/7#discussion_r326560271"},"pull_request":{"href":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7","id":319624159,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5NjI0MTU5","html_url":"https://github.com/awesome-academy/tms_05/pull/7","diff_url":"https://github.com/awesome-academy/tms_05/pull/7.diff","patch_url":"https://github.com/awesome-academy/tms_05/pull/7.patch","issue_url":"https://api.github.com/repos/awesome-academy/tms_05/issues/7","number":7,"state":"open","locked":false,"title":"Managemnet subject","user":{"login":"PhiYen13","id":54162094,"node_id":"MDQ6VXNlcjU0MTYyMDk0","avatar_url":"https://avatars3.githubusercontent.com/u/54162094?v=4","gravatar_id":"","url":"https://api.github.com/users/PhiYen13","html_url":"https://github.com/PhiYen13","followers_url":"https://api.github.com/users/PhiYen13/followers","following_url":"https://api.github.com/users/PhiYen13/following{/other_user}","gists_url":"https://api.github.com/users/PhiYen13/gists{/gist_id}","starred_url":"https://api.github.com/users/PhiYen13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhiYen13/subscriptions","organizations_url":"https://api.github.com/users/PhiYen13/orgs","repos_url":"https://api.github.com/users/PhiYen13/repos","events_url":"https://api.github.com/users/PhiYen13/events{/privacy}","received_events_url":"https://api.github.com/users/PhiYen13/received_events","type":"User","site_admin":false},"body":"![create_subject](https://user-images.githubusercontent.com/54162094/65313893-63bbcf80-dbbf-11e9-931a-c53ef8143f46.png)\r\n","created_at":"2019-09-20T08:58:22Z","updated_at":"2019-09-20T10:07:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c12d89cce4f74db381a3668bb07b9f2a84311cc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7/commits","review_comments_url":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7/comments","review_comment_url":"https://api.github.com/repos/awesome-academy/tms_05/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awesome-academy/tms_05/issues/7/comments","statuses_url":"https://api.github.com/repos/awesome-academy/tms_05/statuses/44d64f99ffe5507e43e44f4784b9148ad9585856","head":{"label":"PhiYen13:Create_Subject","ref":"Create_Subject","sha":"44d64f99ffe5507e43e44f4784b9148ad9585856","user":{"login":"PhiYen13","id":54162094,"node_id":"MDQ6VXNlcjU0MTYyMDk0","avatar_url":"https://avatars3.githubusercontent.com/u/54162094?v=4","gravatar_id":"","url":"https://api.github.com/users/PhiYen13","html_url":"https://github.com/PhiYen13","followers_url":"https://api.github.com/users/PhiYen13/followers","following_url":"https://api.github.com/users/PhiYen13/following{/other_user}","gists_url":"https://api.github.com/users/PhiYen13/gists{/gist_id}","starred_url":"https://api.github.com/users/PhiYen13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhiYen13/subscriptions","organizations_url":"https://api.github.com/users/PhiYen13/orgs","repos_url":"https://api.github.com/users/PhiYen13/repos","events_url":"https://api.github.com/users/PhiYen13/events{/privacy}","received_events_url":"https://api.github.com/users/PhiYen13/received_events","type":"User","site_admin":false},"repo":{"id":208986063,"node_id":"MDEwOlJlcG9zaXRvcnkyMDg5ODYwNjM=","name":"tms_05","full_name":"PhiYen13/tms_05","private":false,"owner":{"login":"PhiYen13","id":54162094,"node_id":"MDQ6VXNlcjU0MTYyMDk0","avatar_url":"https://avatars3.githubusercontent.com/u/54162094?v=4","gravatar_id":"","url":"https://api.github.com/users/PhiYen13","html_url":"https://github.com/PhiYen13","followers_url":"https://api.github.com/users/PhiYen13/followers","following_url":"https://api.github.com/users/PhiYen13/following{/other_user}","gists_url":"https://api.github.com/users/PhiYen13/gists{/gist_id}","starred_url":"https://api.github.com/users/PhiYen13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhiYen13/subscriptions","organizations_url":"https://api.github.com/users/PhiYen13/orgs","repos_url":"https://api.github.com/users/PhiYen13/repos","events_url":"https://api.github.com/users/PhiYen13/events{/privacy}","received_events_url":"https://api.github.com/users/PhiYen13/received_events","type":"User","site_admin":false},"html_url":"https://github.com/PhiYen13/tms_05","description":null,"fork":true,"url":"https://api.github.com/repos/PhiYen13/tms_05","forks_url":"https://api.github.com/repos/PhiYen13/tms_05/forks","keys_url":"https://api.github.com/repos/PhiYen13/tms_05/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PhiYen13/tms_05/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PhiYen13/tms_05/teams","hooks_url":"https://api.github.com/repos/PhiYen13/tms_05/hooks","issue_events_url":"https://api.github.com/repos/PhiYen13/tms_05/issues/events{/number}","events_url":"https://api.github.com/repos/PhiYen13/tms_05/events","assignees_url":"https://api.github.com/repos/PhiYen13/tms_05/assignees{/user}","branches_url":"https://api.github.com/repos/PhiYen13/tms_05/branches{/branch}","tags_url":"https://api.github.com/repos/PhiYen13/tms_05/tags","blobs_url":"https://api.github.com/repos/PhiYen13/tms_05/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PhiYen13/tms_05/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PhiYen13/tms_05/git/refs{/sha}","trees_url":"https://api.github.com/repos/PhiYen13/tms_05/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PhiYen13/tms_05/statuses/{sha}","languages_url":"https://api.github.com/repos/PhiYen13/tms_05/languages","stargazers_url":"https://api.github.com/repos/PhiYen13/tms_05/stargazers","contributors_url":"https://api.github.com/repos/PhiYen13/tms_05/contributors","subscribers_url":"https://api.github.com/repos/PhiYen13/tms_05/subscribers","subscription_url":"https://api.github.com/repos/PhiYen13/tms_05/subscription","commits_url":"https://api.github.com/repos/PhiYen13/tms_05/commits{/sha}","git_commits_url":"https://api.github.com/repos/PhiYen13/tms_05/git/commits{/sha}","comments_url":"https://api.github.com/repos/PhiYen13/tms_05/comments{/number}","issue_comment_url":"https://api.github.com/repos/PhiYen13/tms_05/issues/comments{/number}","contents_url":"https://api.github.com/repos/PhiYen13/tms_05/contents/{+path}","compare_url":"https://api.github.com/repos/PhiYen13/tms_05/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PhiYen13/tms_05/merges","archive_url":"https://api.github.com/repos/PhiYen13/tms_05/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PhiYen13/tms_05/downloads","issues_url":"https://api.github.com/repos/PhiYen13/tms_05/issues{/number}","pulls_url":"https://api.github.com/repos/PhiYen13/tms_05/pulls{/number}","milestones_url":"https://api.github.com/repos/PhiYen13/tms_05/milestones{/number}","notifications_url":"https://api.github.com/repos/PhiYen13/tms_05/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PhiYen13/tms_05/labels{/name}","releases_url":"https://api.github.com/repos/PhiYen13/tms_05/releases{/id}","deployments_url":"https://api.github.com/repos/PhiYen13/tms_05/deployments","created_at":"2019-09-17T07:20:41Z","updated_at":"2019-09-17T07:20:42Z","pushed_at":"2019-09-20T09:47:54Z","git_url":"git://github.com/PhiYen13/tms_05.git","ssh_url":"git@github.com:PhiYen13/tms_05.git","clone_url":"https://github.com/PhiYen13/tms_05.git","svn_url":"https://github.com/PhiYen13/tms_05","homepage":null,"size":1306,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awesome-academy:master","ref":"master","sha":"2e85f33baaec8dc7c96907aa860c19593c88c5c0","user":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":207226173,"node_id":"MDEwOlJlcG9zaXRvcnkyMDcyMjYxNzM=","name":"tms_05","full_name":"awesome-academy/tms_05","private":false,"owner":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/awesome-academy/tms_05","description":null,"fork":false,"url":"https://api.github.com/repos/awesome-academy/tms_05","forks_url":"https://api.github.com/repos/awesome-academy/tms_05/forks","keys_url":"https://api.github.com/repos/awesome-academy/tms_05/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awesome-academy/tms_05/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awesome-academy/tms_05/teams","hooks_url":"https://api.github.com/repos/awesome-academy/tms_05/hooks","issue_events_url":"https://api.github.com/repos/awesome-academy/tms_05/issues/events{/number}","events_url":"https://api.github.com/repos/awesome-academy/tms_05/events","assignees_url":"https://api.github.com/repos/awesome-academy/tms_05/assignees{/user}","branches_url":"https://api.github.com/repos/awesome-academy/tms_05/branches{/branch}","tags_url":"https://api.github.com/repos/awesome-academy/tms_05/tags","blobs_url":"https://api.github.com/repos/awesome-academy/tms_05/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awesome-academy/tms_05/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awesome-academy/tms_05/git/refs{/sha}","trees_url":"https://api.github.com/repos/awesome-academy/tms_05/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awesome-academy/tms_05/statuses/{sha}","languages_url":"https://api.github.com/repos/awesome-academy/tms_05/languages","stargazers_url":"https://api.github.com/repos/awesome-academy/tms_05/stargazers","contributors_url":"https://api.github.com/repos/awesome-academy/tms_05/contributors","subscribers_url":"https://api.github.com/repos/awesome-academy/tms_05/subscribers","subscription_url":"https://api.github.com/repos/awesome-academy/tms_05/subscription","commits_url":"https://api.github.com/repos/awesome-academy/tms_05/commits{/sha}","git_commits_url":"https://api.github.com/repos/awesome-academy/tms_05/git/commits{/sha}","comments_url":"https://api.github.com/repos/awesome-academy/tms_05/comments{/number}","issue_comment_url":"https://api.github.com/repos/awesome-academy/tms_05/issues/comments{/number}","contents_url":"https://api.github.com/repos/awesome-academy/tms_05/contents/{+path}","compare_url":"https://api.github.com/repos/awesome-academy/tms_05/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awesome-academy/tms_05/merges","archive_url":"https://api.github.com/repos/awesome-academy/tms_05/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awesome-academy/tms_05/downloads","issues_url":"https://api.github.com/repos/awesome-academy/tms_05/issues{/number}","pulls_url":"https://api.github.com/repos/awesome-academy/tms_05/pulls{/number}","milestones_url":"https://api.github.com/repos/awesome-academy/tms_05/milestones{/number}","notifications_url":"https://api.github.com/repos/awesome-academy/tms_05/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awesome-academy/tms_05/labels{/name}","releases_url":"https://api.github.com/repos/awesome-academy/tms_05/releases{/id}","deployments_url":"https://api.github.com/repos/awesome-academy/tms_05/deployments","created_at":"2019-09-09T04:48:51Z","updated_at":"2019-09-20T03:29:00Z","pushed_at":"2019-09-20T09:47:55Z","git_url":"git://github.com/awesome-academy/tms_05.git","ssh_url":"git@github.com:awesome-academy/tms_05.git","clone_url":"https://github.com/awesome-academy/tms_05.git","svn_url":"https://github.com/awesome-academy/tms_05","homepage":null,"size":1293,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7"},"html":{"href":"https://github.com/awesome-academy/tms_05/pull/7"},"issue":{"href":"https://api.github.com/repos/awesome-academy/tms_05/issues/7"},"comments":{"href":"https://api.github.com/repos/awesome-academy/tms_05/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/awesome-academy/tms_05/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awesome-academy/tms_05/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/awesome-academy/tms_05/statuses/44d64f99ffe5507e43e44f4784b9148ad9585856"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vanvtt-0952"}}