{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/e-document_02/pulls/comments/147638375","pull_request_review_id":72759600,"id":147638375,"diff_hunk":"@@ -51,4 +53,12 @@ def load_document\n     flash[:danger] = t \"document.document_not_found\"\n     redirect_to user_documents_path(current_user)\n   end\n+\n+  def create_history name_action\n+    history = {document_id: @document.id, name_action: name_action}","path":"app/controllers/documents_controller.rb","position":15,"original_position":15,"commit_id":"15562197d294ab4d988259a43bb30edeedc681f5","original_commit_id":"15562197d294ab4d988259a43bb30edeedc681f5","user":{"login":"dothidiemthao","id":21377118,"avatar_url":"https://avatars0.githubusercontent.com/u/21377118?v=4","gravatar_id":"","url":"https://api.github.com/users/dothidiemthao","html_url":"https://github.com/dothidiemthao","followers_url":"https://api.github.com/users/dothidiemthao/followers","following_url":"https://api.github.com/users/dothidiemthao/following{/other_user}","gists_url":"https://api.github.com/users/dothidiemthao/gists{/gist_id}","starred_url":"https://api.github.com/users/dothidiemthao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dothidiemthao/subscriptions","organizations_url":"https://api.github.com/users/dothidiemthao/orgs","repos_url":"https://api.github.com/users/dothidiemthao/repos","events_url":"https://api.github.com/users/dothidiemthao/events{/privacy}","received_events_url":"https://api.github.com/users/dothidiemthao/received_events","type":"User","site_admin":false},"body":"dùng build đi em","created_at":"2017-10-30T08:28:15Z","updated_at":"2017-10-30T08:34:48Z","html_url":"https://github.com/framgia/e-document_02/pull/18#discussion_r147638375","pull_request_url":"https://api.github.com/repos/framgia/e-document_02/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/e-document_02/pulls/comments/147638375"},"html":{"href":"https://github.com/framgia/e-document_02/pull/18#discussion_r147638375"},"pull_request":{"href":"https://api.github.com/repos/framgia/e-document_02/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/e-document_02/pulls/18","id":149374265,"html_url":"https://github.com/framgia/e-document_02/pull/18","diff_url":"https://github.com/framgia/e-document_02/pull/18.diff","patch_url":"https://github.com/framgia/e-document_02/pull/18.patch","issue_url":"https://api.github.com/repos/framgia/e-document_02/issues/18","number":18,"state":"open","locked":false,"title":"Management history document","user":{"login":"trangkarol","id":19767833,"avatar_url":"https://avatars1.githubusercontent.com/u/19767833?v=4","gravatar_id":"","url":"https://api.github.com/users/trangkarol","html_url":"https://github.com/trangkarol","followers_url":"https://api.github.com/users/trangkarol/followers","following_url":"https://api.github.com/users/trangkarol/following{/other_user}","gists_url":"https://api.github.com/users/trangkarol/gists{/gist_id}","starred_url":"https://api.github.com/users/trangkarol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trangkarol/subscriptions","organizations_url":"https://api.github.com/users/trangkarol/orgs","repos_url":"https://api.github.com/users/trangkarol/repos","events_url":"https://api.github.com/users/trangkarol/events{/privacy}","received_events_url":"https://api.github.com/users/trangkarol/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-29T08:40:12Z","updated_at":"2017-10-30T08:34:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baa6f5e1a4abaaa722be42e6bd6d7aa9c1e9d1ba","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/e-document_02/pulls/18/commits","review_comments_url":"https://api.github.com/repos/framgia/e-document_02/pulls/18/comments","review_comment_url":"https://api.github.com/repos/framgia/e-document_02/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/e-document_02/issues/18/comments","statuses_url":"https://api.github.com/repos/framgia/e-document_02/statuses/15562197d294ab4d988259a43bb30edeedc681f5","head":{"label":"trangkarol:management_history_document","ref":"management_history_document","sha":"15562197d294ab4d988259a43bb30edeedc681f5","user":{"login":"trangkarol","id":19767833,"avatar_url":"https://avatars1.githubusercontent.com/u/19767833?v=4","gravatar_id":"","url":"https://api.github.com/users/trangkarol","html_url":"https://github.com/trangkarol","followers_url":"https://api.github.com/users/trangkarol/followers","following_url":"https://api.github.com/users/trangkarol/following{/other_user}","gists_url":"https://api.github.com/users/trangkarol/gists{/gist_id}","starred_url":"https://api.github.com/users/trangkarol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trangkarol/subscriptions","organizations_url":"https://api.github.com/users/trangkarol/orgs","repos_url":"https://api.github.com/users/trangkarol/repos","events_url":"https://api.github.com/users/trangkarol/events{/privacy}","received_events_url":"https://api.github.com/users/trangkarol/received_events","type":"User","site_admin":false},"repo":{"id":107215206,"name":"e-document_02","full_name":"trangkarol/e-document_02","owner":{"login":"trangkarol","id":19767833,"avatar_url":"https://avatars1.githubusercontent.com/u/19767833?v=4","gravatar_id":"","url":"https://api.github.com/users/trangkarol","html_url":"https://github.com/trangkarol","followers_url":"https://api.github.com/users/trangkarol/followers","following_url":"https://api.github.com/users/trangkarol/following{/other_user}","gists_url":"https://api.github.com/users/trangkarol/gists{/gist_id}","starred_url":"https://api.github.com/users/trangkarol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trangkarol/subscriptions","organizations_url":"https://api.github.com/users/trangkarol/orgs","repos_url":"https://api.github.com/users/trangkarol/repos","events_url":"https://api.github.com/users/trangkarol/events{/privacy}","received_events_url":"https://api.github.com/users/trangkarol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trangkarol/e-document_02","description":null,"fork":true,"url":"https://api.github.com/repos/trangkarol/e-document_02","forks_url":"https://api.github.com/repos/trangkarol/e-document_02/forks","keys_url":"https://api.github.com/repos/trangkarol/e-document_02/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trangkarol/e-document_02/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trangkarol/e-document_02/teams","hooks_url":"https://api.github.com/repos/trangkarol/e-document_02/hooks","issue_events_url":"https://api.github.com/repos/trangkarol/e-document_02/issues/events{/number}","events_url":"https://api.github.com/repos/trangkarol/e-document_02/events","assignees_url":"https://api.github.com/repos/trangkarol/e-document_02/assignees{/user}","branches_url":"https://api.github.com/repos/trangkarol/e-document_02/branches{/branch}","tags_url":"https://api.github.com/repos/trangkarol/e-document_02/tags","blobs_url":"https://api.github.com/repos/trangkarol/e-document_02/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trangkarol/e-document_02/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trangkarol/e-document_02/git/refs{/sha}","trees_url":"https://api.github.com/repos/trangkarol/e-document_02/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trangkarol/e-document_02/statuses/{sha}","languages_url":"https://api.github.com/repos/trangkarol/e-document_02/languages","stargazers_url":"https://api.github.com/repos/trangkarol/e-document_02/stargazers","contributors_url":"https://api.github.com/repos/trangkarol/e-document_02/contributors","subscribers_url":"https://api.github.com/repos/trangkarol/e-document_02/subscribers","subscription_url":"https://api.github.com/repos/trangkarol/e-document_02/subscription","commits_url":"https://api.github.com/repos/trangkarol/e-document_02/commits{/sha}","git_commits_url":"https://api.github.com/repos/trangkarol/e-document_02/git/commits{/sha}","comments_url":"https://api.github.com/repos/trangkarol/e-document_02/comments{/number}","issue_comment_url":"https://api.github.com/repos/trangkarol/e-document_02/issues/comments{/number}","contents_url":"https://api.github.com/repos/trangkarol/e-document_02/contents/{+path}","compare_url":"https://api.github.com/repos/trangkarol/e-document_02/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trangkarol/e-document_02/merges","archive_url":"https://api.github.com/repos/trangkarol/e-document_02/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trangkarol/e-document_02/downloads","issues_url":"https://api.github.com/repos/trangkarol/e-document_02/issues{/number}","pulls_url":"https://api.github.com/repos/trangkarol/e-document_02/pulls{/number}","milestones_url":"https://api.github.com/repos/trangkarol/e-document_02/milestones{/number}","notifications_url":"https://api.github.com/repos/trangkarol/e-document_02/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trangkarol/e-document_02/labels{/name}","releases_url":"https://api.github.com/repos/trangkarol/e-document_02/releases{/id}","deployments_url":"https://api.github.com/repos/trangkarol/e-document_02/deployments","created_at":"2017-10-17T03:51:49Z","updated_at":"2017-10-17T02:59:47Z","pushed_at":"2017-10-30T07:34:30Z","git_url":"git://github.com/trangkarol/e-document_02.git","ssh_url":"git@github.com:trangkarol/e-document_02.git","clone_url":"https://github.com/trangkarol/e-document_02.git","svn_url":"https://github.com/trangkarol/e-document_02","homepage":null,"size":525,"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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"3a5aa3e526af3f11721b4f73dba31c4bdcf61fcc","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":107210523,"name":"e-document_02","full_name":"framgia/e-document_02","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/e-document_02","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/e-document_02","forks_url":"https://api.github.com/repos/framgia/e-document_02/forks","keys_url":"https://api.github.com/repos/framgia/e-document_02/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/e-document_02/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/e-document_02/teams","hooks_url":"https://api.github.com/repos/framgia/e-document_02/hooks","issue_events_url":"https://api.github.com/repos/framgia/e-document_02/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/e-document_02/events","assignees_url":"https://api.github.com/repos/framgia/e-document_02/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/e-document_02/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/e-document_02/tags","blobs_url":"https://api.github.com/repos/framgia/e-document_02/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/e-document_02/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/e-document_02/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/e-document_02/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/e-document_02/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/e-document_02/languages","stargazers_url":"https://api.github.com/repos/framgia/e-document_02/stargazers","contributors_url":"https://api.github.com/repos/framgia/e-document_02/contributors","subscribers_url":"https://api.github.com/repos/framgia/e-document_02/subscribers","subscription_url":"https://api.github.com/repos/framgia/e-document_02/subscription","commits_url":"https://api.github.com/repos/framgia/e-document_02/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/e-document_02/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/e-document_02/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/e-document_02/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/e-document_02/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/e-document_02/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/e-document_02/merges","archive_url":"https://api.github.com/repos/framgia/e-document_02/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/e-document_02/downloads","issues_url":"https://api.github.com/repos/framgia/e-document_02/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/e-document_02/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/e-document_02/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/e-document_02/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/e-document_02/labels{/name}","releases_url":"https://api.github.com/repos/framgia/e-document_02/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/e-document_02/deployments","created_at":"2017-10-17T02:59:47Z","updated_at":"2017-10-23T11:02:06Z","pushed_at":"2017-10-30T07:34:31Z","git_url":"git://github.com/framgia/e-document_02.git","ssh_url":"git@github.com:framgia/e-document_02.git","clone_url":"https://github.com/framgia/e-document_02.git","svn_url":"https://github.com/framgia/e-document_02","homepage":null,"size":486,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/e-document_02/pulls/18"},"html":{"href":"https://github.com/framgia/e-document_02/pull/18"},"issue":{"href":"https://api.github.com/repos/framgia/e-document_02/issues/18"},"comments":{"href":"https://api.github.com/repos/framgia/e-document_02/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/e-document_02/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/e-document_02/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/e-document_02/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/e-document_02/statuses/15562197d294ab4d988259a43bb30edeedc681f5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dothidiemthao"}}