{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fdf_17/pulls/comments/83771285","pull_request_review_id":4592080,"id":83771285,"diff_hunk":"@@ -0,0 +1,16 @@\n+class ProductsController < ApplicationController\n+\n+ def index\n+    if params[\"category\"].present? && params[\"category\"] != \"\"","path":"app/controllers/products_controller.rb","position":4,"original_position":4,"commit_id":"b8a218e23685b0b017fd8671f2b1628e4cb2205d","original_commit_id":"b8a218e23685b0b017fd8671f2b1628e4cb2205d","user":{"login":"thangtx88","id":18256324,"avatar_url":"https://avatars.githubusercontent.com/u/18256324?v=3","gravatar_id":"","url":"https://api.github.com/users/thangtx88","html_url":"https://github.com/thangtx88","followers_url":"https://api.github.com/users/thangtx88/followers","following_url":"https://api.github.com/users/thangtx88/following{/other_user}","gists_url":"https://api.github.com/users/thangtx88/gists{/gist_id}","starred_url":"https://api.github.com/users/thangtx88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thangtx88/subscriptions","organizations_url":"https://api.github.com/users/thangtx88/orgs","repos_url":"https://api.github.com/users/thangtx88/repos","events_url":"https://api.github.com/users/thangtx88/events{/privacy}","received_events_url":"https://api.github.com/users/thangtx88/received_events","type":"User","site_admin":false},"body":"viết thành scope","created_at":"2016-10-18T02:17:57Z","updated_at":"2016-10-18T02:17:57Z","html_url":"https://github.com/framgia/fdf_17/pull/6#discussion_r83771285","pull_request_url":"https://api.github.com/repos/framgia/fdf_17/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/framgia/fdf_17/pulls/comments/83771285"},"html":{"href":"https://github.com/framgia/fdf_17/pull/6#discussion_r83771285"},"pull_request":{"href":"https://api.github.com/repos/framgia/fdf_17/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fdf_17/pulls/6","id":89735419,"html_url":"https://github.com/framgia/fdf_17/pull/6","diff_url":"https://github.com/framgia/fdf_17/pull/6.diff","patch_url":"https://github.com/framgia/fdf_17/pull/6.patch","issue_url":"https://api.github.com/repos/framgia/fdf_17/issues/6","number":6,"state":"open","locked":false,"title":"User show product","user":{"login":"NstTShine","id":22112872,"avatar_url":"https://avatars.githubusercontent.com/u/22112872?v=3","gravatar_id":"","url":"https://api.github.com/users/NstTShine","html_url":"https://github.com/NstTShine","followers_url":"https://api.github.com/users/NstTShine/followers","following_url":"https://api.github.com/users/NstTShine/following{/other_user}","gists_url":"https://api.github.com/users/NstTShine/gists{/gist_id}","starred_url":"https://api.github.com/users/NstTShine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NstTShine/subscriptions","organizations_url":"https://api.github.com/users/NstTShine/orgs","repos_url":"https://api.github.com/users/NstTShine/repos","events_url":"https://api.github.com/users/NstTShine/events{/privacy}","received_events_url":"https://api.github.com/users/NstTShine/received_events","type":"User","site_admin":false},"body":"edit signup-form and user show/edit profile","created_at":"2016-10-18T02:13:57Z","updated_at":"2016-10-18T02:17:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02a0b5efea28dcd28a60b813c6c763526213d143","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fdf_17/pulls/6/commits","review_comments_url":"https://api.github.com/repos/framgia/fdf_17/pulls/6/comments","review_comment_url":"https://api.github.com/repos/framgia/fdf_17/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fdf_17/issues/6/comments","statuses_url":"https://api.github.com/repos/framgia/fdf_17/statuses/b8a218e23685b0b017fd8671f2b1628e4cb2205d","head":{"label":"NstTShine:User-show-products","ref":"User-show-products","sha":"b8a218e23685b0b017fd8671f2b1628e4cb2205d","user":{"login":"NstTShine","id":22112872,"avatar_url":"https://avatars.githubusercontent.com/u/22112872?v=3","gravatar_id":"","url":"https://api.github.com/users/NstTShine","html_url":"https://github.com/NstTShine","followers_url":"https://api.github.com/users/NstTShine/followers","following_url":"https://api.github.com/users/NstTShine/following{/other_user}","gists_url":"https://api.github.com/users/NstTShine/gists{/gist_id}","starred_url":"https://api.github.com/users/NstTShine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NstTShine/subscriptions","organizations_url":"https://api.github.com/users/NstTShine/orgs","repos_url":"https://api.github.com/users/NstTShine/repos","events_url":"https://api.github.com/users/NstTShine/events{/privacy}","received_events_url":"https://api.github.com/users/NstTShine/received_events","type":"User","site_admin":false},"repo":{"id":70580811,"name":"fdf_17","full_name":"NstTShine/fdf_17","owner":{"login":"NstTShine","id":22112872,"avatar_url":"https://avatars.githubusercontent.com/u/22112872?v=3","gravatar_id":"","url":"https://api.github.com/users/NstTShine","html_url":"https://github.com/NstTShine","followers_url":"https://api.github.com/users/NstTShine/followers","following_url":"https://api.github.com/users/NstTShine/following{/other_user}","gists_url":"https://api.github.com/users/NstTShine/gists{/gist_id}","starred_url":"https://api.github.com/users/NstTShine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NstTShine/subscriptions","organizations_url":"https://api.github.com/users/NstTShine/orgs","repos_url":"https://api.github.com/users/NstTShine/repos","events_url":"https://api.github.com/users/NstTShine/events{/privacy}","received_events_url":"https://api.github.com/users/NstTShine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NstTShine/fdf_17","description":"Foods & Drinks (training)","fork":true,"url":"https://api.github.com/repos/NstTShine/fdf_17","forks_url":"https://api.github.com/repos/NstTShine/fdf_17/forks","keys_url":"https://api.github.com/repos/NstTShine/fdf_17/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NstTShine/fdf_17/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NstTShine/fdf_17/teams","hooks_url":"https://api.github.com/repos/NstTShine/fdf_17/hooks","issue_events_url":"https://api.github.com/repos/NstTShine/fdf_17/issues/events{/number}","events_url":"https://api.github.com/repos/NstTShine/fdf_17/events","assignees_url":"https://api.github.com/repos/NstTShine/fdf_17/assignees{/user}","branches_url":"https://api.github.com/repos/NstTShine/fdf_17/branches{/branch}","tags_url":"https://api.github.com/repos/NstTShine/fdf_17/tags","blobs_url":"https://api.github.com/repos/NstTShine/fdf_17/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NstTShine/fdf_17/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NstTShine/fdf_17/git/refs{/sha}","trees_url":"https://api.github.com/repos/NstTShine/fdf_17/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NstTShine/fdf_17/statuses/{sha}","languages_url":"https://api.github.com/repos/NstTShine/fdf_17/languages","stargazers_url":"https://api.github.com/repos/NstTShine/fdf_17/stargazers","contributors_url":"https://api.github.com/repos/NstTShine/fdf_17/contributors","subscribers_url":"https://api.github.com/repos/NstTShine/fdf_17/subscribers","subscription_url":"https://api.github.com/repos/NstTShine/fdf_17/subscription","commits_url":"https://api.github.com/repos/NstTShine/fdf_17/commits{/sha}","git_commits_url":"https://api.github.com/repos/NstTShine/fdf_17/git/commits{/sha}","comments_url":"https://api.github.com/repos/NstTShine/fdf_17/comments{/number}","issue_comment_url":"https://api.github.com/repos/NstTShine/fdf_17/issues/comments{/number}","contents_url":"https://api.github.com/repos/NstTShine/fdf_17/contents/{+path}","compare_url":"https://api.github.com/repos/NstTShine/fdf_17/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NstTShine/fdf_17/merges","archive_url":"https://api.github.com/repos/NstTShine/fdf_17/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NstTShine/fdf_17/downloads","issues_url":"https://api.github.com/repos/NstTShine/fdf_17/issues{/number}","pulls_url":"https://api.github.com/repos/NstTShine/fdf_17/pulls{/number}","milestones_url":"https://api.github.com/repos/NstTShine/fdf_17/milestones{/number}","notifications_url":"https://api.github.com/repos/NstTShine/fdf_17/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NstTShine/fdf_17/labels{/name}","releases_url":"https://api.github.com/repos/NstTShine/fdf_17/releases{/id}","deployments_url":"https://api.github.com/repos/NstTShine/fdf_17/deployments","created_at":"2016-10-11T10:07:54Z","updated_at":"2016-10-10T10:02:56Z","pushed_at":"2016-10-18T02:07:54Z","git_url":"git://github.com/NstTShine/fdf_17.git","ssh_url":"git@github.com:NstTShine/fdf_17.git","clone_url":"https://github.com/NstTShine/fdf_17.git","svn_url":"https://github.com/NstTShine/fdf_17","homepage":null,"size":462,"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":"6a6e07d50f8e41b328e801dd5dc4c4be383f857d","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":70475789,"name":"fdf_17","full_name":"framgia/fdf_17","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/fdf_17","description":"Foods & Drinks (training)","fork":false,"url":"https://api.github.com/repos/framgia/fdf_17","forks_url":"https://api.github.com/repos/framgia/fdf_17/forks","keys_url":"https://api.github.com/repos/framgia/fdf_17/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fdf_17/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fdf_17/teams","hooks_url":"https://api.github.com/repos/framgia/fdf_17/hooks","issue_events_url":"https://api.github.com/repos/framgia/fdf_17/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fdf_17/events","assignees_url":"https://api.github.com/repos/framgia/fdf_17/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fdf_17/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fdf_17/tags","blobs_url":"https://api.github.com/repos/framgia/fdf_17/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fdf_17/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fdf_17/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fdf_17/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fdf_17/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fdf_17/languages","stargazers_url":"https://api.github.com/repos/framgia/fdf_17/stargazers","contributors_url":"https://api.github.com/repos/framgia/fdf_17/contributors","subscribers_url":"https://api.github.com/repos/framgia/fdf_17/subscribers","subscription_url":"https://api.github.com/repos/framgia/fdf_17/subscription","commits_url":"https://api.github.com/repos/framgia/fdf_17/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fdf_17/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fdf_17/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fdf_17/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fdf_17/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fdf_17/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fdf_17/merges","archive_url":"https://api.github.com/repos/framgia/fdf_17/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fdf_17/downloads","issues_url":"https://api.github.com/repos/framgia/fdf_17/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fdf_17/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fdf_17/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fdf_17/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fdf_17/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fdf_17/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fdf_17/deployments","created_at":"2016-10-10T10:02:56Z","updated_at":"2016-10-10T10:02:56Z","pushed_at":"2016-10-18T02:13:57Z","git_url":"git://github.com/framgia/fdf_17.git","ssh_url":"git@github.com:framgia/fdf_17.git","clone_url":"https://github.com/framgia/fdf_17.git","svn_url":"https://github.com/framgia/fdf_17","homepage":null,"size":446,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fdf_17/pulls/6"},"html":{"href":"https://github.com/framgia/fdf_17/pull/6"},"issue":{"href":"https://api.github.com/repos/framgia/fdf_17/issues/6"},"comments":{"href":"https://api.github.com/repos/framgia/fdf_17/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fdf_17/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fdf_17/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fdf_17/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fdf_17/statuses/b8a218e23685b0b017fd8671f2b1628e4cb2205d"}}}}
{"actor":{"display_login":"thangtx88"}}