{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_52/pulls/comments/29130484","id":29130484,"diff_hunk":"@@ -15,9 +15,10 @@\n   end\n   resources :relationships, only: [:create, :destroy]\n   resources :words, only: [:index]\n-  resources :categories\n+  resources :categories, only: [:index]\n   namespace :admin do\n     resources :words, expect: [:index]\n+    resources :categories, expect: [:index]","path":"config/routes.rb","position":8,"original_position":8,"commit_id":"8255b16a86177dfa1c4146d66cd51c3d2eb17ea1","original_commit_id":"8255b16a86177dfa1c4146d66cd51c3d2eb17ea1","user":{"login":"chuanhtuan","id":5590771,"avatar_url":"https://avatars.githubusercontent.com/u/5590771?v=3","gravatar_id":"","url":"https://api.github.com/users/chuanhtuan","html_url":"https://github.com/chuanhtuan","followers_url":"https://api.github.com/users/chuanhtuan/followers","following_url":"https://api.github.com/users/chuanhtuan/following{/other_user}","gists_url":"https://api.github.com/users/chuanhtuan/gists{/gist_id}","starred_url":"https://api.github.com/users/chuanhtuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuanhtuan/subscriptions","organizations_url":"https://api.github.com/users/chuanhtuan/orgs","repos_url":"https://api.github.com/users/chuanhtuan/repos","events_url":"https://api.github.com/users/chuanhtuan/events{/privacy}","received_events_url":"https://api.github.com/users/chuanhtuan/received_events","type":"User","site_admin":false},"body":"sao lại không có index, phải list tất cả category ra chứ","created_at":"2015-04-27T09:02:12Z","updated_at":"2015-04-27T09:02:12Z","html_url":"https://github.com/framgia/fels_52/pull/9#discussion_r29130484","pull_request_url":"https://api.github.com/repos/framgia/fels_52/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_52/pulls/comments/29130484"},"html":{"href":"https://github.com/framgia/fels_52/pull/9#discussion_r29130484"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_52/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_52/pulls/9","id":34148016,"html_url":"https://github.com/framgia/fels_52/pull/9","diff_url":"https://github.com/framgia/fels_52/pull/9.diff","patch_url":"https://github.com/framgia/fels_52/pull/9.patch","issue_url":"https://api.github.com/repos/framgia/fels_52/issues/9","number":9,"state":"open","locked":false,"title":"update category","user":{"login":"nguyenngoctruong","id":11971802,"avatar_url":"https://avatars.githubusercontent.com/u/11971802?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenngoctruong","html_url":"https://github.com/nguyenngoctruong","followers_url":"https://api.github.com/users/nguyenngoctruong/followers","following_url":"https://api.github.com/users/nguyenngoctruong/following{/other_user}","gists_url":"https://api.github.com/users/nguyenngoctruong/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenngoctruong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenngoctruong/subscriptions","organizations_url":"https://api.github.com/users/nguyenngoctruong/orgs","repos_url":"https://api.github.com/users/nguyenngoctruong/repos","events_url":"https://api.github.com/users/nguyenngoctruong/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenngoctruong/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-27T08:23:14Z","updated_at":"2015-04-27T09:02:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f0b801104f4ba008157c066c13ef26de8962061","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_52/pulls/9/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_52/pulls/9/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_52/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_52/issues/9/comments","statuses_url":"https://api.github.com/repos/framgia/fels_52/statuses/8255b16a86177dfa1c4146d66cd51c3d2eb17ea1","head":{"label":"nguyenngoctruong:Category","ref":"Category","sha":"8255b16a86177dfa1c4146d66cd51c3d2eb17ea1","user":{"login":"nguyenngoctruong","id":11971802,"avatar_url":"https://avatars.githubusercontent.com/u/11971802?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenngoctruong","html_url":"https://github.com/nguyenngoctruong","followers_url":"https://api.github.com/users/nguyenngoctruong/followers","following_url":"https://api.github.com/users/nguyenngoctruong/following{/other_user}","gists_url":"https://api.github.com/users/nguyenngoctruong/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenngoctruong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenngoctruong/subscriptions","organizations_url":"https://api.github.com/users/nguyenngoctruong/orgs","repos_url":"https://api.github.com/users/nguyenngoctruong/repos","events_url":"https://api.github.com/users/nguyenngoctruong/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenngoctruong/received_events","type":"User","site_admin":false},"repo":{"id":34234268,"name":"fels_52","full_name":"nguyenngoctruong/fels_52","owner":{"login":"nguyenngoctruong","id":11971802,"avatar_url":"https://avatars.githubusercontent.com/u/11971802?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenngoctruong","html_url":"https://github.com/nguyenngoctruong","followers_url":"https://api.github.com/users/nguyenngoctruong/followers","following_url":"https://api.github.com/users/nguyenngoctruong/following{/other_user}","gists_url":"https://api.github.com/users/nguyenngoctruong/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenngoctruong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenngoctruong/subscriptions","organizations_url":"https://api.github.com/users/nguyenngoctruong/orgs","repos_url":"https://api.github.com/users/nguyenngoctruong/repos","events_url":"https://api.github.com/users/nguyenngoctruong/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenngoctruong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenngoctruong/fels_52","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/nguyenngoctruong/fels_52","forks_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/forks","keys_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/teams","hooks_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/hooks","issue_events_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/events","assignees_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/tags","blobs_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/languages","stargazers_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/stargazers","contributors_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/contributors","subscribers_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/subscribers","subscription_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/subscription","commits_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/merges","archive_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/downloads","issues_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/labels{/name}","releases_url":"https://api.github.com/repos/nguyenngoctruong/fels_52/releases{/id}","created_at":"2015-04-20T02:47:34Z","updated_at":"2015-04-20T02:22:19Z","pushed_at":"2015-04-27T08:58:37Z","git_url":"git://github.com/nguyenngoctruong/fels_52.git","ssh_url":"git@github.com:nguyenngoctruong/fels_52.git","clone_url":"https://github.com/nguyenngoctruong/fels_52.git","svn_url":"https://github.com/nguyenngoctruong/fels_52","homepage":null,"size":171,"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":"6e42dccc6319fd21c238a310593964147cd3eb0a","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":34233356,"name":"fels_52","full_name":"framgia/fels_52","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/fels_52","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_52","forks_url":"https://api.github.com/repos/framgia/fels_52/forks","keys_url":"https://api.github.com/repos/framgia/fels_52/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_52/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_52/teams","hooks_url":"https://api.github.com/repos/framgia/fels_52/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_52/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_52/events","assignees_url":"https://api.github.com/repos/framgia/fels_52/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_52/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_52/tags","blobs_url":"https://api.github.com/repos/framgia/fels_52/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_52/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_52/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_52/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_52/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_52/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_52/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_52/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_52/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_52/subscription","commits_url":"https://api.github.com/repos/framgia/fels_52/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_52/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_52/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_52/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_52/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_52/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_52/merges","archive_url":"https://api.github.com/repos/framgia/fels_52/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_52/downloads","issues_url":"https://api.github.com/repos/framgia/fels_52/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_52/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_52/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_52/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_52/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_52/releases{/id}","created_at":"2015-04-20T02:22:19Z","updated_at":"2015-04-20T02:22:19Z","pushed_at":"2015-04-27T08:58:38Z","git_url":"git://github.com/framgia/fels_52.git","ssh_url":"git@github.com:framgia/fels_52.git","clone_url":"https://github.com/framgia/fels_52.git","svn_url":"https://github.com/framgia/fels_52","homepage":null,"size":808,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_52/pulls/9"},"html":{"href":"https://github.com/framgia/fels_52/pull/9"},"issue":{"href":"https://api.github.com/repos/framgia/fels_52/issues/9"},"comments":{"href":"https://api.github.com/repos/framgia/fels_52/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_52/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_52/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_52/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_52/statuses/8255b16a86177dfa1c4146d66cd51c3d2eb17ea1"}}}}