{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_25/pulls/comments/67993898","id":67993898,"diff_hunk":"@@ -0,0 +1,22 @@\n+class UsersController < ApplicationController\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] = \"Welcome to the Book Framgia app!\"\n+      redirect_to @user\n+    else\n+      render 'new'","path":"app/controllers/users_controller.rb","position":13,"original_position":13,"commit_id":"a55f7403eed510d8c78fcae2bb01f5c266cab029","original_commit_id":"a55f7403eed510d8c78fcae2bb01f5c266cab029","user":{"login":"nhunght","id":14239703,"avatar_url":"https://avatars.githubusercontent.com/u/14239703?v=3","gravatar_id":"","url":"https://api.github.com/users/nhunght","html_url":"https://github.com/nhunght","followers_url":"https://api.github.com/users/nhunght/followers","following_url":"https://api.github.com/users/nhunght/following{/other_user}","gists_url":"https://api.github.com/users/nhunght/gists{/gist_id}","starred_url":"https://api.github.com/users/nhunght/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhunght/subscriptions","organizations_url":"https://api.github.com/users/nhunght/orgs","repos_url":"https://api.github.com/users/nhunght/repos","events_url":"https://api.github.com/users/nhunght/events{/privacy}","received_events_url":"https://api.github.com/users/nhunght/received_events","type":"User","site_admin":false},"body":"render :new ","created_at":"2016-06-22T04:46:07Z","updated_at":"2016-06-22T04:46:07Z","html_url":"https://github.com/framgia/brs_25/pull/2#discussion_r67993898","pull_request_url":"https://api.github.com/repos/framgia/brs_25/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_25/pulls/comments/67993898"},"html":{"href":"https://github.com/framgia/brs_25/pull/2#discussion_r67993898"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_25/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_25/pulls/2","id":74720604,"html_url":"https://github.com/framgia/brs_25/pull/2","diff_url":"https://github.com/framgia/brs_25/pull/2.diff","patch_url":"https://github.com/framgia/brs_25/pull/2.patch","issue_url":"https://api.github.com/repos/framgia/brs_25/issues/2","number":2,"state":"open","locked":false,"title":"Sign up","user":{"login":"phanbt58","id":18113181,"avatar_url":"https://avatars.githubusercontent.com/u/18113181?v=3","gravatar_id":"","url":"https://api.github.com/users/phanbt58","html_url":"https://github.com/phanbt58","followers_url":"https://api.github.com/users/phanbt58/followers","following_url":"https://api.github.com/users/phanbt58/following{/other_user}","gists_url":"https://api.github.com/users/phanbt58/gists{/gist_id}","starred_url":"https://api.github.com/users/phanbt58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phanbt58/subscriptions","organizations_url":"https://api.github.com/users/phanbt58/orgs","repos_url":"https://api.github.com/users/phanbt58/repos","events_url":"https://api.github.com/users/phanbt58/events{/privacy}","received_events_url":"https://api.github.com/users/phanbt58/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-22T03:54:21Z","updated_at":"2016-06-22T04:46:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ee493613c40d7ebcb3f64fa31c9f2f533243f34","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_25/pulls/2/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_25/pulls/2/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_25/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_25/issues/2/comments","statuses_url":"https://api.github.com/repos/framgia/brs_25/statuses/a55f7403eed510d8c78fcae2bb01f5c266cab029","head":{"label":"phanbt58:66308-signup","ref":"66308-signup","sha":"a55f7403eed510d8c78fcae2bb01f5c266cab029","user":{"login":"phanbt58","id":18113181,"avatar_url":"https://avatars.githubusercontent.com/u/18113181?v=3","gravatar_id":"","url":"https://api.github.com/users/phanbt58","html_url":"https://github.com/phanbt58","followers_url":"https://api.github.com/users/phanbt58/followers","following_url":"https://api.github.com/users/phanbt58/following{/other_user}","gists_url":"https://api.github.com/users/phanbt58/gists{/gist_id}","starred_url":"https://api.github.com/users/phanbt58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phanbt58/subscriptions","organizations_url":"https://api.github.com/users/phanbt58/orgs","repos_url":"https://api.github.com/users/phanbt58/repos","events_url":"https://api.github.com/users/phanbt58/events{/privacy}","received_events_url":"https://api.github.com/users/phanbt58/received_events","type":"User","site_admin":false},"repo":{"id":61610661,"name":"brs_25","full_name":"phanbt58/brs_25","owner":{"login":"phanbt58","id":18113181,"avatar_url":"https://avatars.githubusercontent.com/u/18113181?v=3","gravatar_id":"","url":"https://api.github.com/users/phanbt58","html_url":"https://github.com/phanbt58","followers_url":"https://api.github.com/users/phanbt58/followers","following_url":"https://api.github.com/users/phanbt58/following{/other_user}","gists_url":"https://api.github.com/users/phanbt58/gists{/gist_id}","starred_url":"https://api.github.com/users/phanbt58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phanbt58/subscriptions","organizations_url":"https://api.github.com/users/phanbt58/orgs","repos_url":"https://api.github.com/users/phanbt58/repos","events_url":"https://api.github.com/users/phanbt58/events{/privacy}","received_events_url":"https://api.github.com/users/phanbt58/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phanbt58/brs_25","description":"Framgia Book Reviewing System (training)","fork":true,"url":"https://api.github.com/repos/phanbt58/brs_25","forks_url":"https://api.github.com/repos/phanbt58/brs_25/forks","keys_url":"https://api.github.com/repos/phanbt58/brs_25/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phanbt58/brs_25/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phanbt58/brs_25/teams","hooks_url":"https://api.github.com/repos/phanbt58/brs_25/hooks","issue_events_url":"https://api.github.com/repos/phanbt58/brs_25/issues/events{/number}","events_url":"https://api.github.com/repos/phanbt58/brs_25/events","assignees_url":"https://api.github.com/repos/phanbt58/brs_25/assignees{/user}","branches_url":"https://api.github.com/repos/phanbt58/brs_25/branches{/branch}","tags_url":"https://api.github.com/repos/phanbt58/brs_25/tags","blobs_url":"https://api.github.com/repos/phanbt58/brs_25/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phanbt58/brs_25/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phanbt58/brs_25/git/refs{/sha}","trees_url":"https://api.github.com/repos/phanbt58/brs_25/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phanbt58/brs_25/statuses/{sha}","languages_url":"https://api.github.com/repos/phanbt58/brs_25/languages","stargazers_url":"https://api.github.com/repos/phanbt58/brs_25/stargazers","contributors_url":"https://api.github.com/repos/phanbt58/brs_25/contributors","subscribers_url":"https://api.github.com/repos/phanbt58/brs_25/subscribers","subscription_url":"https://api.github.com/repos/phanbt58/brs_25/subscription","commits_url":"https://api.github.com/repos/phanbt58/brs_25/commits{/sha}","git_commits_url":"https://api.github.com/repos/phanbt58/brs_25/git/commits{/sha}","comments_url":"https://api.github.com/repos/phanbt58/brs_25/comments{/number}","issue_comment_url":"https://api.github.com/repos/phanbt58/brs_25/issues/comments{/number}","contents_url":"https://api.github.com/repos/phanbt58/brs_25/contents/{+path}","compare_url":"https://api.github.com/repos/phanbt58/brs_25/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phanbt58/brs_25/merges","archive_url":"https://api.github.com/repos/phanbt58/brs_25/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phanbt58/brs_25/downloads","issues_url":"https://api.github.com/repos/phanbt58/brs_25/issues{/number}","pulls_url":"https://api.github.com/repos/phanbt58/brs_25/pulls{/number}","milestones_url":"https://api.github.com/repos/phanbt58/brs_25/milestones{/number}","notifications_url":"https://api.github.com/repos/phanbt58/brs_25/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phanbt58/brs_25/labels{/name}","releases_url":"https://api.github.com/repos/phanbt58/brs_25/releases{/id}","deployments_url":"https://api.github.com/repos/phanbt58/brs_25/deployments","created_at":"2016-06-21T07:06:07Z","updated_at":"2016-06-20T06:41:23Z","pushed_at":"2016-06-22T03:50:32Z","git_url":"git://github.com/phanbt58/brs_25.git","ssh_url":"git@github.com:phanbt58/brs_25.git","clone_url":"https://github.com/phanbt58/brs_25.git","svn_url":"https://github.com/phanbt58/brs_25","homepage":null,"size":22,"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":"b2e1494b775c3923e1c42e8843af61683f31da7e","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":61522922,"name":"brs_25","full_name":"framgia/brs_25","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_25","description":"Framgia Book Reviewing System (training)","fork":false,"url":"https://api.github.com/repos/framgia/brs_25","forks_url":"https://api.github.com/repos/framgia/brs_25/forks","keys_url":"https://api.github.com/repos/framgia/brs_25/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_25/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_25/teams","hooks_url":"https://api.github.com/repos/framgia/brs_25/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_25/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_25/events","assignees_url":"https://api.github.com/repos/framgia/brs_25/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_25/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_25/tags","blobs_url":"https://api.github.com/repos/framgia/brs_25/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_25/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_25/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_25/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_25/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_25/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_25/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_25/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_25/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_25/subscription","commits_url":"https://api.github.com/repos/framgia/brs_25/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_25/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_25/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_25/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_25/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_25/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_25/merges","archive_url":"https://api.github.com/repos/framgia/brs_25/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_25/downloads","issues_url":"https://api.github.com/repos/framgia/brs_25/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_25/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_25/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_25/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_25/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_25/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/brs_25/deployments","created_at":"2016-06-20T06:41:23Z","updated_at":"2016-06-20T06:41:23Z","pushed_at":"2016-06-22T03:54:21Z","git_url":"git://github.com/framgia/brs_25.git","ssh_url":"git@github.com:framgia/brs_25.git","clone_url":"https://github.com/framgia/brs_25.git","svn_url":"https://github.com/framgia/brs_25","homepage":null,"size":16,"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":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_25/pulls/2"},"html":{"href":"https://github.com/framgia/brs_25/pull/2"},"issue":{"href":"https://api.github.com/repos/framgia/brs_25/issues/2"},"comments":{"href":"https://api.github.com/repos/framgia/brs_25/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_25/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_25/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_25/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_25/statuses/a55f7403eed510d8c78fcae2bb01f5c266cab029"}}}}
{"actor":{"display_login":"nhunght"}}