{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_63/pulls/comments/175687752","pull_request_review_id":105255984,"id":175687752,"diff_hunk":"@@ -2,6 +2,8 @@ class ApplicationController < ActionController::Base\n   protect_from_forgery with: :exception\n   helper_method :current_user, :verify_admin!, :categories\n \n+  protected\n+\n   def current_user","path":"app/controllers/application_controller.rb","position":6,"original_position":6,"commit_id":"87d734e72c68e4259697d543aa5cb5a307cf6fa3","original_commit_id":"87d734e72c68e4259697d543aa5cb5a307cf6fa3","user":{"login":"hungpq96","id":15817110,"avatar_url":"https://avatars2.githubusercontent.com/u/15817110?v=4","gravatar_id":"","url":"https://api.github.com/users/hungpq96","html_url":"https://github.com/hungpq96","followers_url":"https://api.github.com/users/hungpq96/followers","following_url":"https://api.github.com/users/hungpq96/following{/other_user}","gists_url":"https://api.github.com/users/hungpq96/gists{/gist_id}","starred_url":"https://api.github.com/users/hungpq96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungpq96/subscriptions","organizations_url":"https://api.github.com/users/hungpq96/orgs","repos_url":"https://api.github.com/users/hungpq96/repos","events_url":"https://api.github.com/users/hungpq96/events{/privacy}","received_events_url":"https://api.github.com/users/hungpq96/received_events","type":"User","site_admin":false},"body":"helper_method :current_user, :verify_admin!, :categories =>>> I have exported them as view helpers","created_at":"2018-03-20T08:46:02Z","updated_at":"2018-03-20T08:46:02Z","html_url":"https://github.com/framgia/brs_63/pull/8#discussion_r175687752","pull_request_url":"https://api.github.com/repos/framgia/brs_63/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_63/pulls/comments/175687752"},"html":{"href":"https://github.com/framgia/brs_63/pull/8#discussion_r175687752"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_63/pulls/8"}},"in_reply_to_id":175686874},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_63/pulls/8","id":175434983,"html_url":"https://github.com/framgia/brs_63/pull/8","diff_url":"https://github.com/framgia/brs_63/pull/8.diff","patch_url":"https://github.com/framgia/brs_63/pull/8.patch","issue_url":"https://api.github.com/repos/framgia/brs_63/issues/8","number":8,"state":"open","locked":false,"title":"Admin - manage book: CRUD","user":{"login":"hungpq96","id":15817110,"avatar_url":"https://avatars2.githubusercontent.com/u/15817110?v=4","gravatar_id":"","url":"https://api.github.com/users/hungpq96","html_url":"https://github.com/hungpq96","followers_url":"https://api.github.com/users/hungpq96/followers","following_url":"https://api.github.com/users/hungpq96/following{/other_user}","gists_url":"https://api.github.com/users/hungpq96/gists{/gist_id}","starred_url":"https://api.github.com/users/hungpq96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungpq96/subscriptions","organizations_url":"https://api.github.com/users/hungpq96/orgs","repos_url":"https://api.github.com/users/hungpq96/repos","events_url":"https://api.github.com/users/hungpq96/events{/privacy}","received_events_url":"https://api.github.com/users/hungpq96/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-16T03:57:41Z","updated_at":"2018-03-20T08:46:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef02f5b37f1139442f278a41c1171b4c189af130","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_63/pulls/8/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_63/pulls/8/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_63/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_63/issues/8/comments","statuses_url":"https://api.github.com/repos/framgia/brs_63/statuses/87d734e72c68e4259697d543aa5cb5a307cf6fa3","head":{"label":"hungpq96:crud-books","ref":"crud-books","sha":"87d734e72c68e4259697d543aa5cb5a307cf6fa3","user":{"login":"hungpq96","id":15817110,"avatar_url":"https://avatars2.githubusercontent.com/u/15817110?v=4","gravatar_id":"","url":"https://api.github.com/users/hungpq96","html_url":"https://github.com/hungpq96","followers_url":"https://api.github.com/users/hungpq96/followers","following_url":"https://api.github.com/users/hungpq96/following{/other_user}","gists_url":"https://api.github.com/users/hungpq96/gists{/gist_id}","starred_url":"https://api.github.com/users/hungpq96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungpq96/subscriptions","organizations_url":"https://api.github.com/users/hungpq96/orgs","repos_url":"https://api.github.com/users/hungpq96/repos","events_url":"https://api.github.com/users/hungpq96/events{/privacy}","received_events_url":"https://api.github.com/users/hungpq96/received_events","type":"User","site_admin":false},"repo":{"id":124165434,"name":"brs_63","full_name":"hungpq96/brs_63","owner":{"login":"hungpq96","id":15817110,"avatar_url":"https://avatars2.githubusercontent.com/u/15817110?v=4","gravatar_id":"","url":"https://api.github.com/users/hungpq96","html_url":"https://github.com/hungpq96","followers_url":"https://api.github.com/users/hungpq96/followers","following_url":"https://api.github.com/users/hungpq96/following{/other_user}","gists_url":"https://api.github.com/users/hungpq96/gists{/gist_id}","starred_url":"https://api.github.com/users/hungpq96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungpq96/subscriptions","organizations_url":"https://api.github.com/users/hungpq96/orgs","repos_url":"https://api.github.com/users/hungpq96/repos","events_url":"https://api.github.com/users/hungpq96/events{/privacy}","received_events_url":"https://api.github.com/users/hungpq96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hungpq96/brs_63","description":"Book review system","fork":true,"url":"https://api.github.com/repos/hungpq96/brs_63","forks_url":"https://api.github.com/repos/hungpq96/brs_63/forks","keys_url":"https://api.github.com/repos/hungpq96/brs_63/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hungpq96/brs_63/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hungpq96/brs_63/teams","hooks_url":"https://api.github.com/repos/hungpq96/brs_63/hooks","issue_events_url":"https://api.github.com/repos/hungpq96/brs_63/issues/events{/number}","events_url":"https://api.github.com/repos/hungpq96/brs_63/events","assignees_url":"https://api.github.com/repos/hungpq96/brs_63/assignees{/user}","branches_url":"https://api.github.com/repos/hungpq96/brs_63/branches{/branch}","tags_url":"https://api.github.com/repos/hungpq96/brs_63/tags","blobs_url":"https://api.github.com/repos/hungpq96/brs_63/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hungpq96/brs_63/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hungpq96/brs_63/git/refs{/sha}","trees_url":"https://api.github.com/repos/hungpq96/brs_63/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hungpq96/brs_63/statuses/{sha}","languages_url":"https://api.github.com/repos/hungpq96/brs_63/languages","stargazers_url":"https://api.github.com/repos/hungpq96/brs_63/stargazers","contributors_url":"https://api.github.com/repos/hungpq96/brs_63/contributors","subscribers_url":"https://api.github.com/repos/hungpq96/brs_63/subscribers","subscription_url":"https://api.github.com/repos/hungpq96/brs_63/subscription","commits_url":"https://api.github.com/repos/hungpq96/brs_63/commits{/sha}","git_commits_url":"https://api.github.com/repos/hungpq96/brs_63/git/commits{/sha}","comments_url":"https://api.github.com/repos/hungpq96/brs_63/comments{/number}","issue_comment_url":"https://api.github.com/repos/hungpq96/brs_63/issues/comments{/number}","contents_url":"https://api.github.com/repos/hungpq96/brs_63/contents/{+path}","compare_url":"https://api.github.com/repos/hungpq96/brs_63/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hungpq96/brs_63/merges","archive_url":"https://api.github.com/repos/hungpq96/brs_63/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hungpq96/brs_63/downloads","issues_url":"https://api.github.com/repos/hungpq96/brs_63/issues{/number}","pulls_url":"https://api.github.com/repos/hungpq96/brs_63/pulls{/number}","milestones_url":"https://api.github.com/repos/hungpq96/brs_63/milestones{/number}","notifications_url":"https://api.github.com/repos/hungpq96/brs_63/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hungpq96/brs_63/labels{/name}","releases_url":"https://api.github.com/repos/hungpq96/brs_63/releases{/id}","deployments_url":"https://api.github.com/repos/hungpq96/brs_63/deployments","created_at":"2018-03-07T02:13:26Z","updated_at":"2018-03-06T02:26:54Z","pushed_at":"2018-03-20T07:28:18Z","git_url":"git://github.com/hungpq96/brs_63.git","ssh_url":"git@github.com:hungpq96/brs_63.git","clone_url":"https://github.com/hungpq96/brs_63.git","svn_url":"https://github.com/hungpq96/brs_63","homepage":null,"size":44,"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,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"82d981ac71f47d136154ab0bd9f5fe8233c3211b","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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":124008349,"name":"brs_63","full_name":"framgia/brs_63","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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/brs_63","description":"Book review system","fork":false,"url":"https://api.github.com/repos/framgia/brs_63","forks_url":"https://api.github.com/repos/framgia/brs_63/forks","keys_url":"https://api.github.com/repos/framgia/brs_63/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_63/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_63/teams","hooks_url":"https://api.github.com/repos/framgia/brs_63/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_63/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_63/events","assignees_url":"https://api.github.com/repos/framgia/brs_63/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_63/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_63/tags","blobs_url":"https://api.github.com/repos/framgia/brs_63/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_63/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_63/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_63/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_63/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_63/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_63/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_63/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_63/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_63/subscription","commits_url":"https://api.github.com/repos/framgia/brs_63/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_63/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_63/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_63/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_63/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_63/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_63/merges","archive_url":"https://api.github.com/repos/framgia/brs_63/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_63/downloads","issues_url":"https://api.github.com/repos/framgia/brs_63/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_63/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_63/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_63/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_63/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_63/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/brs_63/deployments","created_at":"2018-03-06T02:26:54Z","updated_at":"2018-03-13T02:16:21Z","pushed_at":"2018-03-20T07:28:19Z","git_url":"git://github.com/framgia/brs_63.git","ssh_url":"git@github.com:framgia/brs_63.git","clone_url":"https://github.com/framgia/brs_63.git","svn_url":"https://github.com/framgia/brs_63","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_63/pulls/8"},"html":{"href":"https://github.com/framgia/brs_63/pull/8"},"issue":{"href":"https://api.github.com/repos/framgia/brs_63/issues/8"},"comments":{"href":"https://api.github.com/repos/framgia/brs_63/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_63/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_63/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_63/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_63/statuses/87d734e72c68e4259697d543aa5cb5a307cf6fa3"}},"author_association":"NONE"}}
{"actor":{"display_login":"hungpq96"}}