{"action":"created","comment":{"url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments/33999593","id":33999593,"diff_hunk":"@@ -1,6 +1,15 @@\n class Admin::UsersController < ApplicationController\n   before_action :authenticate_user!, :check_admin\n \n+  def index\n+    if params[:search].nil?","path":"app/controllers/admin/users_controller.rb","position":5,"original_position":5,"commit_id":"b8326c59add6d85c64a237c9f339705bc00edc73","original_commit_id":"30e987ebfb8c10eef4e6ea487b4ff773fda0f51a","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"body":"if remove dont accept function","created_at":"2015-07-07T00:57:02Z","updated_at":"2015-07-07T00:57:02Z","html_url":"https://github.com/minhld1709/recode_project_3/pull/12#discussion_r33999593","pull_request_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments/33999593"},"html":{"href":"https://github.com/minhld1709/recode_project_3/pull/12#discussion_r33999593"},"pull_request":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12","id":39247449,"html_url":"https://github.com/minhld1709/recode_project_3/pull/12","diff_url":"https://github.com/minhld1709/recode_project_3/pull/12.diff","patch_url":"https://github.com/minhld1709/recode_project_3/pull/12.patch","issue_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/12","number":12,"state":"open","locked":false,"title":"admin user index search form","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-06T08:56:30Z","updated_at":"2015-07-07T00:57:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d57a48932f1c71a416209b3ff7ef9e95ce83a034","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12/commits","review_comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12/comments","review_comment_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/12/comments","statuses_url":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/b8326c59add6d85c64a237c9f339705bc00edc73","head":{"label":"minhld1709:admin_user_index","ref":"admin_user_index","sha":"b8326c59add6d85c64a237c9f339705bc00edc73","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"repo":{"id":38354135,"name":"recode_project_3","full_name":"minhld1709/recode_project_3","owner":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhld1709/recode_project_3","description":"recode project 3","fork":false,"url":"https://api.github.com/repos/minhld1709/recode_project_3","forks_url":"https://api.github.com/repos/minhld1709/recode_project_3/forks","keys_url":"https://api.github.com/repos/minhld1709/recode_project_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhld1709/recode_project_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhld1709/recode_project_3/teams","hooks_url":"https://api.github.com/repos/minhld1709/recode_project_3/hooks","issue_events_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/events{/number}","events_url":"https://api.github.com/repos/minhld1709/recode_project_3/events","assignees_url":"https://api.github.com/repos/minhld1709/recode_project_3/assignees{/user}","branches_url":"https://api.github.com/repos/minhld1709/recode_project_3/branches{/branch}","tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/tags","blobs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/{sha}","languages_url":"https://api.github.com/repos/minhld1709/recode_project_3/languages","stargazers_url":"https://api.github.com/repos/minhld1709/recode_project_3/stargazers","contributors_url":"https://api.github.com/repos/minhld1709/recode_project_3/contributors","subscribers_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscribers","subscription_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscription","commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhld1709/recode_project_3/contents/{+path}","compare_url":"https://api.github.com/repos/minhld1709/recode_project_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhld1709/recode_project_3/merges","archive_url":"https://api.github.com/repos/minhld1709/recode_project_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhld1709/recode_project_3/downloads","issues_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues{/number}","pulls_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls{/number}","milestones_url":"https://api.github.com/repos/minhld1709/recode_project_3/milestones{/number}","notifications_url":"https://api.github.com/repos/minhld1709/recode_project_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhld1709/recode_project_3/labels{/name}","releases_url":"https://api.github.com/repos/minhld1709/recode_project_3/releases{/id}","created_at":"2015-07-01T06:34:50Z","updated_at":"2015-07-01T06:47:22Z","pushed_at":"2015-07-07T00:54:14Z","git_url":"git://github.com/minhld1709/recode_project_3.git","ssh_url":"git@github.com:minhld1709/recode_project_3.git","clone_url":"https://github.com/minhld1709/recode_project_3.git","svn_url":"https://github.com/minhld1709/recode_project_3","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"minhld1709:master","ref":"master","sha":"13e09cbefe09527a7939d16c980efc071ea0fe3e","user":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"repo":{"id":38354135,"name":"recode_project_3","full_name":"minhld1709/recode_project_3","owner":{"login":"minhld1709","id":10452690,"avatar_url":"https://avatars.githubusercontent.com/u/10452690?v=3","gravatar_id":"","url":"https://api.github.com/users/minhld1709","html_url":"https://github.com/minhld1709","followers_url":"https://api.github.com/users/minhld1709/followers","following_url":"https://api.github.com/users/minhld1709/following{/other_user}","gists_url":"https://api.github.com/users/minhld1709/gists{/gist_id}","starred_url":"https://api.github.com/users/minhld1709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhld1709/subscriptions","organizations_url":"https://api.github.com/users/minhld1709/orgs","repos_url":"https://api.github.com/users/minhld1709/repos","events_url":"https://api.github.com/users/minhld1709/events{/privacy}","received_events_url":"https://api.github.com/users/minhld1709/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhld1709/recode_project_3","description":"recode project 3","fork":false,"url":"https://api.github.com/repos/minhld1709/recode_project_3","forks_url":"https://api.github.com/repos/minhld1709/recode_project_3/forks","keys_url":"https://api.github.com/repos/minhld1709/recode_project_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhld1709/recode_project_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhld1709/recode_project_3/teams","hooks_url":"https://api.github.com/repos/minhld1709/recode_project_3/hooks","issue_events_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/events{/number}","events_url":"https://api.github.com/repos/minhld1709/recode_project_3/events","assignees_url":"https://api.github.com/repos/minhld1709/recode_project_3/assignees{/user}","branches_url":"https://api.github.com/repos/minhld1709/recode_project_3/branches{/branch}","tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/tags","blobs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/{sha}","languages_url":"https://api.github.com/repos/minhld1709/recode_project_3/languages","stargazers_url":"https://api.github.com/repos/minhld1709/recode_project_3/stargazers","contributors_url":"https://api.github.com/repos/minhld1709/recode_project_3/contributors","subscribers_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscribers","subscription_url":"https://api.github.com/repos/minhld1709/recode_project_3/subscription","commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhld1709/recode_project_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhld1709/recode_project_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhld1709/recode_project_3/contents/{+path}","compare_url":"https://api.github.com/repos/minhld1709/recode_project_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhld1709/recode_project_3/merges","archive_url":"https://api.github.com/repos/minhld1709/recode_project_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhld1709/recode_project_3/downloads","issues_url":"https://api.github.com/repos/minhld1709/recode_project_3/issues{/number}","pulls_url":"https://api.github.com/repos/minhld1709/recode_project_3/pulls{/number}","milestones_url":"https://api.github.com/repos/minhld1709/recode_project_3/milestones{/number}","notifications_url":"https://api.github.com/repos/minhld1709/recode_project_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhld1709/recode_project_3/labels{/name}","releases_url":"https://api.github.com/repos/minhld1709/recode_project_3/releases{/id}","created_at":"2015-07-01T06:34:50Z","updated_at":"2015-07-01T06:47:22Z","pushed_at":"2015-07-07T00:54:14Z","git_url":"git://github.com/minhld1709/recode_project_3.git","ssh_url":"git@github.com:minhld1709/recode_project_3.git","clone_url":"https://github.com/minhld1709/recode_project_3.git","svn_url":"https://github.com/minhld1709/recode_project_3","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12"},"html":{"href":"https://github.com/minhld1709/recode_project_3/pull/12"},"issue":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/issues/12"},"comments":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/minhld1709/recode_project_3/statuses/b8326c59add6d85c64a237c9f339705bc00edc73"}}}}