{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_41/pulls/comments/90587620","pull_request_review_id":11106930,"id":90587620,"diff_hunk":"@@ -0,0 +1,60 @@\n+class CategoriesController < ApplicationController\n+  before_action :categories_params, only: [:update]\n+\n+  def index\n+    @categories = Category.order_by_name.paginate page: params[:page], per_page: Settings.per_page","path":"app/controllers/categories_controller.rb","position":5,"original_position":5,"commit_id":"cde04db8c52eb00658fc7ebd32743d9da073a815","original_commit_id":"cde04db8c52eb00658fc7ebd32743d9da073a815","user":{"login":"nvtanh","id":5591946,"avatar_url":"https://avatars.githubusercontent.com/u/5591946?v=3","gravatar_id":"","url":"https://api.github.com/users/nvtanh","html_url":"https://github.com/nvtanh","followers_url":"https://api.github.com/users/nvtanh/followers","following_url":"https://api.github.com/users/nvtanh/following{/other_user}","gists_url":"https://api.github.com/users/nvtanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nvtanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvtanh/subscriptions","organizations_url":"https://api.github.com/users/nvtanh/orgs","repos_url":"https://api.github.com/users/nvtanh/repos","events_url":"https://api.github.com/users/nvtanh/events{/privacy}","received_events_url":"https://api.github.com/users/nvtanh/received_events","type":"User","site_admin":false},"body":"quá 80 kí tự","created_at":"2016-12-02T05:05:19Z","updated_at":"2016-12-02T05:05:19Z","html_url":"https://github.com/framgia/brs_41/pull/7#discussion_r90587620","pull_request_url":"https://api.github.com/repos/framgia/brs_41/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_41/pulls/comments/90587620"},"html":{"href":"https://github.com/framgia/brs_41/pull/7#discussion_r90587620"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_41/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_41/pulls/7","id":95639166,"html_url":"https://github.com/framgia/brs_41/pull/7","diff_url":"https://github.com/framgia/brs_41/pull/7.diff","patch_url":"https://github.com/framgia/brs_41/pull/7.patch","issue_url":"https://api.github.com/repos/framgia/brs_41/issues/7","number":7,"state":"open","locked":false,"title":"done category","user":{"login":"kewdev","id":23021580,"avatar_url":"https://avatars.githubusercontent.com/u/23021580?v=3","gravatar_id":"","url":"https://api.github.com/users/kewdev","html_url":"https://github.com/kewdev","followers_url":"https://api.github.com/users/kewdev/followers","following_url":"https://api.github.com/users/kewdev/following{/other_user}","gists_url":"https://api.github.com/users/kewdev/gists{/gist_id}","starred_url":"https://api.github.com/users/kewdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewdev/subscriptions","organizations_url":"https://api.github.com/users/kewdev/orgs","repos_url":"https://api.github.com/users/kewdev/repos","events_url":"https://api.github.com/users/kewdev/events{/privacy}","received_events_url":"https://api.github.com/users/kewdev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-29T07:26:25Z","updated_at":"2016-12-02T05:09:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"118a170db8fde3ca96caf34cdf64809f831eb37c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_41/pulls/7/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_41/pulls/7/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_41/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_41/issues/7/comments","statuses_url":"https://api.github.com/repos/framgia/brs_41/statuses/cde04db8c52eb00658fc7ebd32743d9da073a815","head":{"label":"kewdev:category","ref":"category","sha":"cde04db8c52eb00658fc7ebd32743d9da073a815","user":{"login":"kewdev","id":23021580,"avatar_url":"https://avatars.githubusercontent.com/u/23021580?v=3","gravatar_id":"","url":"https://api.github.com/users/kewdev","html_url":"https://github.com/kewdev","followers_url":"https://api.github.com/users/kewdev/followers","following_url":"https://api.github.com/users/kewdev/following{/other_user}","gists_url":"https://api.github.com/users/kewdev/gists{/gist_id}","starred_url":"https://api.github.com/users/kewdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewdev/subscriptions","organizations_url":"https://api.github.com/users/kewdev/orgs","repos_url":"https://api.github.com/users/kewdev/repos","events_url":"https://api.github.com/users/kewdev/events{/privacy}","received_events_url":"https://api.github.com/users/kewdev/received_events","type":"User","site_admin":false},"repo":{"id":75054675,"name":"brs_41","full_name":"kewdev/brs_41","owner":{"login":"kewdev","id":23021580,"avatar_url":"https://avatars.githubusercontent.com/u/23021580?v=3","gravatar_id":"","url":"https://api.github.com/users/kewdev","html_url":"https://github.com/kewdev","followers_url":"https://api.github.com/users/kewdev/followers","following_url":"https://api.github.com/users/kewdev/following{/other_user}","gists_url":"https://api.github.com/users/kewdev/gists{/gist_id}","starred_url":"https://api.github.com/users/kewdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewdev/subscriptions","organizations_url":"https://api.github.com/users/kewdev/orgs","repos_url":"https://api.github.com/users/kewdev/repos","events_url":"https://api.github.com/users/kewdev/events{/privacy}","received_events_url":"https://api.github.com/users/kewdev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kewdev/brs_41","description":null,"fork":true,"url":"https://api.github.com/repos/kewdev/brs_41","forks_url":"https://api.github.com/repos/kewdev/brs_41/forks","keys_url":"https://api.github.com/repos/kewdev/brs_41/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kewdev/brs_41/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kewdev/brs_41/teams","hooks_url":"https://api.github.com/repos/kewdev/brs_41/hooks","issue_events_url":"https://api.github.com/repos/kewdev/brs_41/issues/events{/number}","events_url":"https://api.github.com/repos/kewdev/brs_41/events","assignees_url":"https://api.github.com/repos/kewdev/brs_41/assignees{/user}","branches_url":"https://api.github.com/repos/kewdev/brs_41/branches{/branch}","tags_url":"https://api.github.com/repos/kewdev/brs_41/tags","blobs_url":"https://api.github.com/repos/kewdev/brs_41/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kewdev/brs_41/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kewdev/brs_41/git/refs{/sha}","trees_url":"https://api.github.com/repos/kewdev/brs_41/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kewdev/brs_41/statuses/{sha}","languages_url":"https://api.github.com/repos/kewdev/brs_41/languages","stargazers_url":"https://api.github.com/repos/kewdev/brs_41/stargazers","contributors_url":"https://api.github.com/repos/kewdev/brs_41/contributors","subscribers_url":"https://api.github.com/repos/kewdev/brs_41/subscribers","subscription_url":"https://api.github.com/repos/kewdev/brs_41/subscription","commits_url":"https://api.github.com/repos/kewdev/brs_41/commits{/sha}","git_commits_url":"https://api.github.com/repos/kewdev/brs_41/git/commits{/sha}","comments_url":"https://api.github.com/repos/kewdev/brs_41/comments{/number}","issue_comment_url":"https://api.github.com/repos/kewdev/brs_41/issues/comments{/number}","contents_url":"https://api.github.com/repos/kewdev/brs_41/contents/{+path}","compare_url":"https://api.github.com/repos/kewdev/brs_41/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kewdev/brs_41/merges","archive_url":"https://api.github.com/repos/kewdev/brs_41/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kewdev/brs_41/downloads","issues_url":"https://api.github.com/repos/kewdev/brs_41/issues{/number}","pulls_url":"https://api.github.com/repos/kewdev/brs_41/pulls{/number}","milestones_url":"https://api.github.com/repos/kewdev/brs_41/milestones{/number}","notifications_url":"https://api.github.com/repos/kewdev/brs_41/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kewdev/brs_41/labels{/name}","releases_url":"https://api.github.com/repos/kewdev/brs_41/releases{/id}","deployments_url":"https://api.github.com/repos/kewdev/brs_41/deployments","created_at":"2016-11-29T07:24:43Z","updated_at":"2016-11-16T04:29:55Z","pushed_at":"2016-12-02T03:00:02Z","git_url":"git://github.com/kewdev/brs_41.git","ssh_url":"git@github.com:kewdev/brs_41.git","clone_url":"https://github.com/kewdev/brs_41.git","svn_url":"https://github.com/kewdev/brs_41","homepage":null,"size":5765,"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":"93e1edce96a7f74b2c238449055fc18e737df60e","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":73884082,"name":"brs_41","full_name":"framgia/brs_41","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/brs_41","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/brs_41","forks_url":"https://api.github.com/repos/framgia/brs_41/forks","keys_url":"https://api.github.com/repos/framgia/brs_41/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_41/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_41/teams","hooks_url":"https://api.github.com/repos/framgia/brs_41/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_41/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_41/events","assignees_url":"https://api.github.com/repos/framgia/brs_41/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_41/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_41/tags","blobs_url":"https://api.github.com/repos/framgia/brs_41/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_41/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_41/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_41/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_41/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_41/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_41/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_41/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_41/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_41/subscription","commits_url":"https://api.github.com/repos/framgia/brs_41/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_41/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_41/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_41/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_41/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_41/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_41/merges","archive_url":"https://api.github.com/repos/framgia/brs_41/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_41/downloads","issues_url":"https://api.github.com/repos/framgia/brs_41/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_41/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_41/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_41/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_41/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_41/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/brs_41/deployments","created_at":"2016-11-16T04:29:55Z","updated_at":"2016-11-16T04:29:55Z","pushed_at":"2016-12-02T03:06:41Z","git_url":"git://github.com/framgia/brs_41.git","ssh_url":"git@github.com:framgia/brs_41.git","clone_url":"https://github.com/framgia/brs_41.git","svn_url":"https://github.com/framgia/brs_41","homepage":null,"size":1403,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_41/pulls/7"},"html":{"href":"https://github.com/framgia/brs_41/pull/7"},"issue":{"href":"https://api.github.com/repos/framgia/brs_41/issues/7"},"comments":{"href":"https://api.github.com/repos/framgia/brs_41/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_41/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_41/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_41/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_41/statuses/cde04db8c52eb00658fc7ebd32743d9da073a815"}}}}
{"actor":{"display_login":"nvtanh"}}