{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ecommerce_49/pulls/comments/199323518","pull_request_review_id":133427002,"id":199323518,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTMyMzUxOA==","diff_hunk":"@@ -2,6 +2,7 @@ class OrdersController < ApplicationController\n   before_action :load_orders, only: :index\n   before_action :check_cart_empty, only: :create\n   before_action :current_cart, :quantity_in_cart, only: %i(new create)\n+  before_action :logged_in_user, only: :new","path":"app/controllers/orders_controller.rb","position":4,"original_position":4,"commit_id":"5302fdceabdff0989b3c5bcfc13af6c1027b9382","original_commit_id":"5302fdceabdff0989b3c5bcfc13af6c1027b9382","user":{"login":"VuThiTranVan","id":27009821,"node_id":"MDQ6VXNlcjI3MDA5ODIx","avatar_url":"https://avatars3.githubusercontent.com/u/27009821?v=4","gravatar_id":"","url":"https://api.github.com/users/VuThiTranVan","html_url":"https://github.com/VuThiTranVan","followers_url":"https://api.github.com/users/VuThiTranVan/followers","following_url":"https://api.github.com/users/VuThiTranVan/following{/other_user}","gists_url":"https://api.github.com/users/VuThiTranVan/gists{/gist_id}","starred_url":"https://api.github.com/users/VuThiTranVan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VuThiTranVan/subscriptions","organizations_url":"https://api.github.com/users/VuThiTranVan/orgs","repos_url":"https://api.github.com/users/VuThiTranVan/repos","events_url":"https://api.github.com/users/VuThiTranVan/events{/privacy}","received_events_url":"https://api.github.com/users/VuThiTranVan/received_events","type":"User","site_admin":false},"body":"`logged_in_user` dùng cho all method chứ sao lại chỉ cho new thôi em (tat)","created_at":"2018-06-30T14:10:14Z","updated_at":"2018-06-30T14:11:29Z","html_url":"https://github.com/framgia/ecommerce_49/pull/30#discussion_r199323518","pull_request_url":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/ecommerce_49/pulls/comments/199323518"},"html":{"href":"https://github.com/framgia/ecommerce_49/pull/30#discussion_r199323518"},"pull_request":{"href":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30","id":198258228,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjU4MjI4","html_url":"https://github.com/framgia/ecommerce_49/pull/30","diff_url":"https://github.com/framgia/ecommerce_49/pull/30.diff","patch_url":"https://github.com/framgia/ecommerce_49/pull/30.patch","issue_url":"https://api.github.com/repos/framgia/ecommerce_49/issues/30","number":30,"state":"open","locked":false,"title":"Funtion_comments","user":{"login":"haonguyenit232","id":33936707,"node_id":"MDQ6VXNlcjMzOTM2NzA3","avatar_url":"https://avatars3.githubusercontent.com/u/33936707?v=4","gravatar_id":"","url":"https://api.github.com/users/haonguyenit232","html_url":"https://github.com/haonguyenit232","followers_url":"https://api.github.com/users/haonguyenit232/followers","following_url":"https://api.github.com/users/haonguyenit232/following{/other_user}","gists_url":"https://api.github.com/users/haonguyenit232/gists{/gist_id}","starred_url":"https://api.github.com/users/haonguyenit232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haonguyenit232/subscriptions","organizations_url":"https://api.github.com/users/haonguyenit232/orgs","repos_url":"https://api.github.com/users/haonguyenit232/repos","events_url":"https://api.github.com/users/haonguyenit232/events{/privacy}","received_events_url":"https://api.github.com/users/haonguyenit232/received_events","type":"User","site_admin":false},"body":"![screenshot from 2018-06-18 15-32-04](https://user-images.githubusercontent.com/33936707/42085664-481248fa-7bbb-11e8-8f1e-bf114e7a64cb.png)\r\n","created_at":"2018-06-29T09:09:46Z","updated_at":"2018-06-30T14:11:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18ef0472f60dcd1fca3eb745f05655aa2af9017e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30/commits","review_comments_url":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30/comments","review_comment_url":"https://api.github.com/repos/framgia/ecommerce_49/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ecommerce_49/issues/30/comments","statuses_url":"https://api.github.com/repos/framgia/ecommerce_49/statuses/5302fdceabdff0989b3c5bcfc13af6c1027b9382","head":{"label":"haonguyenit232:Funtion_Comments","ref":"Funtion_Comments","sha":"5302fdceabdff0989b3c5bcfc13af6c1027b9382","user":{"login":"haonguyenit232","id":33936707,"node_id":"MDQ6VXNlcjMzOTM2NzA3","avatar_url":"https://avatars3.githubusercontent.com/u/33936707?v=4","gravatar_id":"","url":"https://api.github.com/users/haonguyenit232","html_url":"https://github.com/haonguyenit232","followers_url":"https://api.github.com/users/haonguyenit232/followers","following_url":"https://api.github.com/users/haonguyenit232/following{/other_user}","gists_url":"https://api.github.com/users/haonguyenit232/gists{/gist_id}","starred_url":"https://api.github.com/users/haonguyenit232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haonguyenit232/subscriptions","organizations_url":"https://api.github.com/users/haonguyenit232/orgs","repos_url":"https://api.github.com/users/haonguyenit232/repos","events_url":"https://api.github.com/users/haonguyenit232/events{/privacy}","received_events_url":"https://api.github.com/users/haonguyenit232/received_events","type":"User","site_admin":false},"repo":{"id":137562578,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc1NjI1Nzg=","name":"ecommerce_49","full_name":"haonguyenit232/ecommerce_49","owner":{"login":"haonguyenit232","id":33936707,"node_id":"MDQ6VXNlcjMzOTM2NzA3","avatar_url":"https://avatars3.githubusercontent.com/u/33936707?v=4","gravatar_id":"","url":"https://api.github.com/users/haonguyenit232","html_url":"https://github.com/haonguyenit232","followers_url":"https://api.github.com/users/haonguyenit232/followers","following_url":"https://api.github.com/users/haonguyenit232/following{/other_user}","gists_url":"https://api.github.com/users/haonguyenit232/gists{/gist_id}","starred_url":"https://api.github.com/users/haonguyenit232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haonguyenit232/subscriptions","organizations_url":"https://api.github.com/users/haonguyenit232/orgs","repos_url":"https://api.github.com/users/haonguyenit232/repos","events_url":"https://api.github.com/users/haonguyenit232/events{/privacy}","received_events_url":"https://api.github.com/users/haonguyenit232/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haonguyenit232/ecommerce_49","description":null,"fork":true,"url":"https://api.github.com/repos/haonguyenit232/ecommerce_49","forks_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/forks","keys_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/teams","hooks_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/hooks","issue_events_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/issues/events{/number}","events_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/events","assignees_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/assignees{/user}","branches_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/branches{/branch}","tags_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/tags","blobs_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/git/refs{/sha}","trees_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/statuses/{sha}","languages_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/languages","stargazers_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/stargazers","contributors_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/contributors","subscribers_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/subscribers","subscription_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/subscription","commits_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/commits{/sha}","git_commits_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/git/commits{/sha}","comments_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/comments{/number}","issue_comment_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/issues/comments{/number}","contents_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/contents/{+path}","compare_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/merges","archive_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/downloads","issues_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/issues{/number}","pulls_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/pulls{/number}","milestones_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/milestones{/number}","notifications_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/labels{/name}","releases_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/releases{/id}","deployments_url":"https://api.github.com/repos/haonguyenit232/ecommerce_49/deployments","created_at":"2018-06-16T07:33:11Z","updated_at":"2018-06-18T04:05:13Z","pushed_at":"2018-06-30T13:53:33Z","git_url":"git://github.com/haonguyenit232/ecommerce_49.git","ssh_url":"git@github.com:haonguyenit232/ecommerce_49.git","clone_url":"https://github.com/haonguyenit232/ecommerce_49.git","svn_url":"https://github.com/haonguyenit232/ecommerce_49","homepage":null,"size":518,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"0ad6c4d12575eb2bccd678760ffac02585314fc4","user":{"login":"framgia","id":2322183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMjIxODM=","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":137452686,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc0NTI2ODY=","name":"ecommerce_49","full_name":"framgia/ecommerce_49","owner":{"login":"framgia","id":2322183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMjIxODM=","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/ecommerce_49","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/ecommerce_49","forks_url":"https://api.github.com/repos/framgia/ecommerce_49/forks","keys_url":"https://api.github.com/repos/framgia/ecommerce_49/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ecommerce_49/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ecommerce_49/teams","hooks_url":"https://api.github.com/repos/framgia/ecommerce_49/hooks","issue_events_url":"https://api.github.com/repos/framgia/ecommerce_49/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ecommerce_49/events","assignees_url":"https://api.github.com/repos/framgia/ecommerce_49/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ecommerce_49/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ecommerce_49/tags","blobs_url":"https://api.github.com/repos/framgia/ecommerce_49/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ecommerce_49/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ecommerce_49/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ecommerce_49/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ecommerce_49/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ecommerce_49/languages","stargazers_url":"https://api.github.com/repos/framgia/ecommerce_49/stargazers","contributors_url":"https://api.github.com/repos/framgia/ecommerce_49/contributors","subscribers_url":"https://api.github.com/repos/framgia/ecommerce_49/subscribers","subscription_url":"https://api.github.com/repos/framgia/ecommerce_49/subscription","commits_url":"https://api.github.com/repos/framgia/ecommerce_49/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ecommerce_49/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ecommerce_49/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ecommerce_49/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ecommerce_49/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ecommerce_49/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ecommerce_49/merges","archive_url":"https://api.github.com/repos/framgia/ecommerce_49/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ecommerce_49/downloads","issues_url":"https://api.github.com/repos/framgia/ecommerce_49/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ecommerce_49/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ecommerce_49/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ecommerce_49/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ecommerce_49/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ecommerce_49/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ecommerce_49/deployments","created_at":"2018-06-15T07:02:24Z","updated_at":"2018-06-30T11:35:15Z","pushed_at":"2018-06-30T13:53:35Z","git_url":"git://github.com/framgia/ecommerce_49.git","ssh_url":"git@github.com:framgia/ecommerce_49.git","clone_url":"https://github.com/framgia/ecommerce_49.git","svn_url":"https://github.com/framgia/ecommerce_49","homepage":null,"size":477,"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,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30"},"html":{"href":"https://github.com/framgia/ecommerce_49/pull/30"},"issue":{"href":"https://api.github.com/repos/framgia/ecommerce_49/issues/30"},"comments":{"href":"https://api.github.com/repos/framgia/ecommerce_49/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ecommerce_49/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ecommerce_49/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ecommerce_49/statuses/5302fdceabdff0989b3c5bcfc13af6c1027b9382"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"VuThiTranVan"}}