{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/comments/206378668","pull_request_review_id":141781724,"id":206378668,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjM3ODY2OA==","diff_hunk":"@@ -21,6 +42,22 @@ def destroy\n     else\n       flash[:danger] = t(\"error\")\n     end\n-    redirect_to admin_users_url\n+    redirect_back fallback_location: root_path\n+  end\n+\n+  private\n+\n+  def check_pass\n+    user = User.find_by(id: params[:id])","path":"app/controllers/admin/users_controller.rb","position":59,"original_position":59,"commit_id":"faa3f71f75b90cc08ebb8e873a6e03e26a00f3fa","original_commit_id":"faa3f71f75b90cc08ebb8e873a6e03e26a00f3fa","user":{"login":"thanhhungchu95","id":8967163,"node_id":"MDQ6VXNlcjg5NjcxNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/8967163?v=4","gravatar_id":"","url":"https://api.github.com/users/thanhhungchu95","html_url":"https://github.com/thanhhungchu95","followers_url":"https://api.github.com/users/thanhhungchu95/followers","following_url":"https://api.github.com/users/thanhhungchu95/following{/other_user}","gists_url":"https://api.github.com/users/thanhhungchu95/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhhungchu95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhhungchu95/subscriptions","organizations_url":"https://api.github.com/users/thanhhungchu95/orgs","repos_url":"https://api.github.com/users/thanhhungchu95/repos","events_url":"https://api.github.com/users/thanhhungchu95/events{/privacy}","received_events_url":"https://api.github.com/users/thanhhungchu95/received_events","type":"User","site_admin":false},"body":"bỏ () đi em","created_at":"2018-07-31T02:27:29Z","updated_at":"2018-07-31T02:33:29Z","html_url":"https://github.com/framgia/rails_shoe_shop_online_01/pull/16#discussion_r206378668","pull_request_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/comments/206378668"},"html":{"href":"https://github.com/framgia/rails_shoe_shop_online_01/pull/16#discussion_r206378668"},"pull_request":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16","id":204773967,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NzczOTY3","html_url":"https://github.com/framgia/rails_shoe_shop_online_01/pull/16","diff_url":"https://github.com/framgia/rails_shoe_shop_online_01/pull/16.diff","patch_url":"https://github.com/framgia/rails_shoe_shop_online_01/pull/16.patch","issue_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues/16","number":16,"state":"open","locked":false,"title":"Admin user","user":{"login":"cauvong9696","id":26426000,"node_id":"MDQ6VXNlcjI2NDI2MDAw","avatar_url":"https://avatars3.githubusercontent.com/u/26426000?v=4","gravatar_id":"","url":"https://api.github.com/users/cauvong9696","html_url":"https://github.com/cauvong9696","followers_url":"https://api.github.com/users/cauvong9696/followers","following_url":"https://api.github.com/users/cauvong9696/following{/other_user}","gists_url":"https://api.github.com/users/cauvong9696/gists{/gist_id}","starred_url":"https://api.github.com/users/cauvong9696/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cauvong9696/subscriptions","organizations_url":"https://api.github.com/users/cauvong9696/orgs","repos_url":"https://api.github.com/users/cauvong9696/repos","events_url":"https://api.github.com/users/cauvong9696/events{/privacy}","received_events_url":"https://api.github.com/users/cauvong9696/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-30T11:27:47Z","updated_at":"2018-07-31T02:33:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"802403d15f73d5aea265151217d202bbfb425265","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16/commits","review_comments_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16/comments","review_comment_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues/16/comments","statuses_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/statuses/faa3f71f75b90cc08ebb8e873a6e03e26a00f3fa","head":{"label":"cauvong9696:admin_user","ref":"admin_user","sha":"faa3f71f75b90cc08ebb8e873a6e03e26a00f3fa","user":{"login":"cauvong9696","id":26426000,"node_id":"MDQ6VXNlcjI2NDI2MDAw","avatar_url":"https://avatars3.githubusercontent.com/u/26426000?v=4","gravatar_id":"","url":"https://api.github.com/users/cauvong9696","html_url":"https://github.com/cauvong9696","followers_url":"https://api.github.com/users/cauvong9696/followers","following_url":"https://api.github.com/users/cauvong9696/following{/other_user}","gists_url":"https://api.github.com/users/cauvong9696/gists{/gist_id}","starred_url":"https://api.github.com/users/cauvong9696/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cauvong9696/subscriptions","organizations_url":"https://api.github.com/users/cauvong9696/orgs","repos_url":"https://api.github.com/users/cauvong9696/repos","events_url":"https://api.github.com/users/cauvong9696/events{/privacy}","received_events_url":"https://api.github.com/users/cauvong9696/received_events","type":"User","site_admin":false},"repo":{"id":141982289,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE5ODIyODk=","name":"rails_shoe_shop_online_01","full_name":"cauvong9696/rails_shoe_shop_online_01","owner":{"login":"cauvong9696","id":26426000,"node_id":"MDQ6VXNlcjI2NDI2MDAw","avatar_url":"https://avatars3.githubusercontent.com/u/26426000?v=4","gravatar_id":"","url":"https://api.github.com/users/cauvong9696","html_url":"https://github.com/cauvong9696","followers_url":"https://api.github.com/users/cauvong9696/followers","following_url":"https://api.github.com/users/cauvong9696/following{/other_user}","gists_url":"https://api.github.com/users/cauvong9696/gists{/gist_id}","starred_url":"https://api.github.com/users/cauvong9696/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cauvong9696/subscriptions","organizations_url":"https://api.github.com/users/cauvong9696/orgs","repos_url":"https://api.github.com/users/cauvong9696/repos","events_url":"https://api.github.com/users/cauvong9696/events{/privacy}","received_events_url":"https://api.github.com/users/cauvong9696/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cauvong9696/rails_shoe_shop_online_01","description":null,"fork":true,"url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01","forks_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/forks","keys_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/teams","hooks_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/hooks","issue_events_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/issues/events{/number}","events_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/events","assignees_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/assignees{/user}","branches_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/branches{/branch}","tags_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/tags","blobs_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/statuses/{sha}","languages_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/languages","stargazers_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/stargazers","contributors_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/contributors","subscribers_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/subscribers","subscription_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/subscription","commits_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/contents/{+path}","compare_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/merges","archive_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/downloads","issues_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/issues{/number}","pulls_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/pulls{/number}","milestones_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/milestones{/number}","notifications_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/labels{/name}","releases_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/releases{/id}","deployments_url":"https://api.github.com/repos/cauvong9696/rails_shoe_shop_online_01/deployments","created_at":"2018-07-23T08:06:05Z","updated_at":"2018-07-23T08:06:07Z","pushed_at":"2018-07-31T02:23:08Z","git_url":"git://github.com/cauvong9696/rails_shoe_shop_online_01.git","ssh_url":"git@github.com:cauvong9696/rails_shoe_shop_online_01.git","clone_url":"https://github.com/cauvong9696/rails_shoe_shop_online_01.git","svn_url":"https://github.com/cauvong9696/rails_shoe_shop_online_01","homepage":null,"size":1560,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"framgia:master","ref":"master","sha":"28dc38ac3d3dcacce4b268fc5ff9c3c9f4c34c01","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":141975010,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE5NzUwMTA=","name":"rails_shoe_shop_online_01","full_name":"framgia/rails_shoe_shop_online_01","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/rails_shoe_shop_online_01","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01","forks_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/forks","keys_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/teams","hooks_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/events","assignees_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/tags","blobs_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/languages","stargazers_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/subscription","commits_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/merges","archive_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/downloads","issues_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/deployments","created_at":"2018-07-23T07:04:15Z","updated_at":"2018-07-30T03:28:50Z","pushed_at":"2018-07-31T02:23:09Z","git_url":"git://github.com/framgia/rails_shoe_shop_online_01.git","ssh_url":"git@github.com:framgia/rails_shoe_shop_online_01.git","clone_url":"https://github.com/framgia/rails_shoe_shop_online_01.git","svn_url":"https://github.com/framgia/rails_shoe_shop_online_01","homepage":null,"size":1554,"stargazers_count":1,"watchers_count":1,"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":3,"license":null,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16"},"html":{"href":"https://github.com/framgia/rails_shoe_shop_online_01/pull/16"},"issue":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues/16"},"comments":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/rails_shoe_shop_online_01/statuses/faa3f71f75b90cc08ebb8e873a6e03e26a00f3fa"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"thanhhungchu95"}}