{"action":"created","comment":{"url":"https://api.github.com/repos/annt49/app1/pulls/comments/88369199","pull_request_review_id":8945130,"id":88369199,"diff_hunk":"@@ -0,0 +1,26 @@\n+class UsersController < ApplicationController\n+\n+  def show\n+    @user = User.find_by id: params[:id]\n+  end\n+\n+  def new\n+    @user = User.new\n+  end\n+\n+  def create\n+    @user = User.new user_params\n+    if @user.save\n+      flash[:success] = \"Wellcome to the App1!\"\n+      redirect_to @user\n+    else\n+      render \"new\"","path":"app/controllers/users_controller.rb","position":17,"original_position":17,"commit_id":"f540dd68b9dcfc4d7e6bc470bd0bc8244159e6ba","original_commit_id":"f540dd68b9dcfc4d7e6bc470bd0bc8244159e6ba","user":{"login":"yeunuthongminh","id":20291773,"avatar_url":"https://avatars.githubusercontent.com/u/20291773?v=3","gravatar_id":"","url":"https://api.github.com/users/yeunuthongminh","html_url":"https://github.com/yeunuthongminh","followers_url":"https://api.github.com/users/yeunuthongminh/followers","following_url":"https://api.github.com/users/yeunuthongminh/following{/other_user}","gists_url":"https://api.github.com/users/yeunuthongminh/gists{/gist_id}","starred_url":"https://api.github.com/users/yeunuthongminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeunuthongminh/subscriptions","organizations_url":"https://api.github.com/users/yeunuthongminh/orgs","repos_url":"https://api.github.com/users/yeunuthongminh/repos","events_url":"https://api.github.com/users/yeunuthongminh/events{/privacy}","received_events_url":"https://api.github.com/users/yeunuthongminh/received_events","type":"User","site_admin":false},"body":"render :new ","created_at":"2016-11-17T01:21:12Z","updated_at":"2016-11-17T01:22:29Z","html_url":"https://github.com/annt49/app1/pull/5#discussion_r88369199","pull_request_url":"https://api.github.com/repos/annt49/app1/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/annt49/app1/pulls/comments/88369199"},"html":{"href":"https://github.com/annt49/app1/pull/5#discussion_r88369199"},"pull_request":{"href":"https://api.github.com/repos/annt49/app1/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/annt49/app1/pulls/5","id":93932687,"html_url":"https://github.com/annt49/app1/pull/5","diff_url":"https://github.com/annt49/app1/pull/5.diff","patch_url":"https://github.com/annt49/app1/pull/5.patch","issue_url":"https://api.github.com/repos/annt49/app1/issues/5","number":5,"state":"open","locked":false,"title":"sign-up","user":{"login":"annt49","id":23331149,"avatar_url":"https://avatars.githubusercontent.com/u/23331149?v=3","gravatar_id":"","url":"https://api.github.com/users/annt49","html_url":"https://github.com/annt49","followers_url":"https://api.github.com/users/annt49/followers","following_url":"https://api.github.com/users/annt49/following{/other_user}","gists_url":"https://api.github.com/users/annt49/gists{/gist_id}","starred_url":"https://api.github.com/users/annt49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annt49/subscriptions","organizations_url":"https://api.github.com/users/annt49/orgs","repos_url":"https://api.github.com/users/annt49/repos","events_url":"https://api.github.com/users/annt49/events{/privacy}","received_events_url":"https://api.github.com/users/annt49/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-16T09:50:32Z","updated_at":"2016-11-17T01:22:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"488c39ce0ac8e165ae88dc70aef02de06237e25d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/annt49/app1/pulls/5/commits","review_comments_url":"https://api.github.com/repos/annt49/app1/pulls/5/comments","review_comment_url":"https://api.github.com/repos/annt49/app1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/annt49/app1/issues/5/comments","statuses_url":"https://api.github.com/repos/annt49/app1/statuses/f540dd68b9dcfc4d7e6bc470bd0bc8244159e6ba","head":{"label":"annt49:sign-up","ref":"sign-up","sha":"f540dd68b9dcfc4d7e6bc470bd0bc8244159e6ba","user":{"login":"annt49","id":23331149,"avatar_url":"https://avatars.githubusercontent.com/u/23331149?v=3","gravatar_id":"","url":"https://api.github.com/users/annt49","html_url":"https://github.com/annt49","followers_url":"https://api.github.com/users/annt49/followers","following_url":"https://api.github.com/users/annt49/following{/other_user}","gists_url":"https://api.github.com/users/annt49/gists{/gist_id}","starred_url":"https://api.github.com/users/annt49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annt49/subscriptions","organizations_url":"https://api.github.com/users/annt49/orgs","repos_url":"https://api.github.com/users/annt49/repos","events_url":"https://api.github.com/users/annt49/events{/privacy}","received_events_url":"https://api.github.com/users/annt49/received_events","type":"User","site_admin":false},"repo":{"id":73455455,"name":"app1","full_name":"annt49/app1","owner":{"login":"annt49","id":23331149,"avatar_url":"https://avatars.githubusercontent.com/u/23331149?v=3","gravatar_id":"","url":"https://api.github.com/users/annt49","html_url":"https://github.com/annt49","followers_url":"https://api.github.com/users/annt49/followers","following_url":"https://api.github.com/users/annt49/following{/other_user}","gists_url":"https://api.github.com/users/annt49/gists{/gist_id}","starred_url":"https://api.github.com/users/annt49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annt49/subscriptions","organizations_url":"https://api.github.com/users/annt49/orgs","repos_url":"https://api.github.com/users/annt49/repos","events_url":"https://api.github.com/users/annt49/events{/privacy}","received_events_url":"https://api.github.com/users/annt49/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annt49/app1","description":null,"fork":false,"url":"https://api.github.com/repos/annt49/app1","forks_url":"https://api.github.com/repos/annt49/app1/forks","keys_url":"https://api.github.com/repos/annt49/app1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annt49/app1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annt49/app1/teams","hooks_url":"https://api.github.com/repos/annt49/app1/hooks","issue_events_url":"https://api.github.com/repos/annt49/app1/issues/events{/number}","events_url":"https://api.github.com/repos/annt49/app1/events","assignees_url":"https://api.github.com/repos/annt49/app1/assignees{/user}","branches_url":"https://api.github.com/repos/annt49/app1/branches{/branch}","tags_url":"https://api.github.com/repos/annt49/app1/tags","blobs_url":"https://api.github.com/repos/annt49/app1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annt49/app1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annt49/app1/git/refs{/sha}","trees_url":"https://api.github.com/repos/annt49/app1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annt49/app1/statuses/{sha}","languages_url":"https://api.github.com/repos/annt49/app1/languages","stargazers_url":"https://api.github.com/repos/annt49/app1/stargazers","contributors_url":"https://api.github.com/repos/annt49/app1/contributors","subscribers_url":"https://api.github.com/repos/annt49/app1/subscribers","subscription_url":"https://api.github.com/repos/annt49/app1/subscription","commits_url":"https://api.github.com/repos/annt49/app1/commits{/sha}","git_commits_url":"https://api.github.com/repos/annt49/app1/git/commits{/sha}","comments_url":"https://api.github.com/repos/annt49/app1/comments{/number}","issue_comment_url":"https://api.github.com/repos/annt49/app1/issues/comments{/number}","contents_url":"https://api.github.com/repos/annt49/app1/contents/{+path}","compare_url":"https://api.github.com/repos/annt49/app1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annt49/app1/merges","archive_url":"https://api.github.com/repos/annt49/app1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annt49/app1/downloads","issues_url":"https://api.github.com/repos/annt49/app1/issues{/number}","pulls_url":"https://api.github.com/repos/annt49/app1/pulls{/number}","milestones_url":"https://api.github.com/repos/annt49/app1/milestones{/number}","notifications_url":"https://api.github.com/repos/annt49/app1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annt49/app1/labels{/name}","releases_url":"https://api.github.com/repos/annt49/app1/releases{/id}","deployments_url":"https://api.github.com/repos/annt49/app1/deployments","created_at":"2016-11-11T07:23:53Z","updated_at":"2016-11-11T07:25:17Z","pushed_at":"2016-11-17T01:16:12Z","git_url":"git://github.com/annt49/app1.git","ssh_url":"git@github.com:annt49/app1.git","clone_url":"https://github.com/annt49/app1.git","svn_url":"https://github.com/annt49/app1","homepage":null,"size":50,"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":"annt49:master","ref":"master","sha":"1197012a4024d5cc94064b106ef97226e1fc9a69","user":{"login":"annt49","id":23331149,"avatar_url":"https://avatars.githubusercontent.com/u/23331149?v=3","gravatar_id":"","url":"https://api.github.com/users/annt49","html_url":"https://github.com/annt49","followers_url":"https://api.github.com/users/annt49/followers","following_url":"https://api.github.com/users/annt49/following{/other_user}","gists_url":"https://api.github.com/users/annt49/gists{/gist_id}","starred_url":"https://api.github.com/users/annt49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annt49/subscriptions","organizations_url":"https://api.github.com/users/annt49/orgs","repos_url":"https://api.github.com/users/annt49/repos","events_url":"https://api.github.com/users/annt49/events{/privacy}","received_events_url":"https://api.github.com/users/annt49/received_events","type":"User","site_admin":false},"repo":{"id":73455455,"name":"app1","full_name":"annt49/app1","owner":{"login":"annt49","id":23331149,"avatar_url":"https://avatars.githubusercontent.com/u/23331149?v=3","gravatar_id":"","url":"https://api.github.com/users/annt49","html_url":"https://github.com/annt49","followers_url":"https://api.github.com/users/annt49/followers","following_url":"https://api.github.com/users/annt49/following{/other_user}","gists_url":"https://api.github.com/users/annt49/gists{/gist_id}","starred_url":"https://api.github.com/users/annt49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annt49/subscriptions","organizations_url":"https://api.github.com/users/annt49/orgs","repos_url":"https://api.github.com/users/annt49/repos","events_url":"https://api.github.com/users/annt49/events{/privacy}","received_events_url":"https://api.github.com/users/annt49/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annt49/app1","description":null,"fork":false,"url":"https://api.github.com/repos/annt49/app1","forks_url":"https://api.github.com/repos/annt49/app1/forks","keys_url":"https://api.github.com/repos/annt49/app1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annt49/app1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annt49/app1/teams","hooks_url":"https://api.github.com/repos/annt49/app1/hooks","issue_events_url":"https://api.github.com/repos/annt49/app1/issues/events{/number}","events_url":"https://api.github.com/repos/annt49/app1/events","assignees_url":"https://api.github.com/repos/annt49/app1/assignees{/user}","branches_url":"https://api.github.com/repos/annt49/app1/branches{/branch}","tags_url":"https://api.github.com/repos/annt49/app1/tags","blobs_url":"https://api.github.com/repos/annt49/app1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annt49/app1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annt49/app1/git/refs{/sha}","trees_url":"https://api.github.com/repos/annt49/app1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annt49/app1/statuses/{sha}","languages_url":"https://api.github.com/repos/annt49/app1/languages","stargazers_url":"https://api.github.com/repos/annt49/app1/stargazers","contributors_url":"https://api.github.com/repos/annt49/app1/contributors","subscribers_url":"https://api.github.com/repos/annt49/app1/subscribers","subscription_url":"https://api.github.com/repos/annt49/app1/subscription","commits_url":"https://api.github.com/repos/annt49/app1/commits{/sha}","git_commits_url":"https://api.github.com/repos/annt49/app1/git/commits{/sha}","comments_url":"https://api.github.com/repos/annt49/app1/comments{/number}","issue_comment_url":"https://api.github.com/repos/annt49/app1/issues/comments{/number}","contents_url":"https://api.github.com/repos/annt49/app1/contents/{+path}","compare_url":"https://api.github.com/repos/annt49/app1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annt49/app1/merges","archive_url":"https://api.github.com/repos/annt49/app1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annt49/app1/downloads","issues_url":"https://api.github.com/repos/annt49/app1/issues{/number}","pulls_url":"https://api.github.com/repos/annt49/app1/pulls{/number}","milestones_url":"https://api.github.com/repos/annt49/app1/milestones{/number}","notifications_url":"https://api.github.com/repos/annt49/app1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annt49/app1/labels{/name}","releases_url":"https://api.github.com/repos/annt49/app1/releases{/id}","deployments_url":"https://api.github.com/repos/annt49/app1/deployments","created_at":"2016-11-11T07:23:53Z","updated_at":"2016-11-11T07:25:17Z","pushed_at":"2016-11-17T01:16:12Z","git_url":"git://github.com/annt49/app1.git","ssh_url":"git@github.com:annt49/app1.git","clone_url":"https://github.com/annt49/app1.git","svn_url":"https://github.com/annt49/app1","homepage":null,"size":50,"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/annt49/app1/pulls/5"},"html":{"href":"https://github.com/annt49/app1/pull/5"},"issue":{"href":"https://api.github.com/repos/annt49/app1/issues/5"},"comments":{"href":"https://api.github.com/repos/annt49/app1/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/annt49/app1/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/annt49/app1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/annt49/app1/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/annt49/app1/statuses/f540dd68b9dcfc4d7e6bc470bd0bc8244159e6ba"}}}}
{"actor":{"display_login":"yeunuthongminh"}}