{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ecommerce_09/pulls/comments/94201468","pull_request_review_id":14732420,"id":94201468,"diff_hunk":"@@ -0,0 +1,42 @@\n+class UsersController < ApplicationController\n+  before_action :load_user, except: [:new, :create]\n+\n+  def new\n+    @user = User.new\n+  end\n+\n+  def show\n+  end\n+\n+  def edit\n+  end\n+  def create\n+    @user = User.new user_params\n+    if @user.save\n+      flash[:success] = t\"register_sucess\"\n+      log_in @user\n+      redirect_to root_path\n+    else\n+      redirect_to signup_path\n+    end\n+  end\n+\n+  def destroy\n+    @user.destroy\n+    flash[:success] = \"Success!\"","path":"app/controllers/users_controller.rb","position":26,"original_position":26,"commit_id":"86d4104b36e0aaf29e7e772ceddc6695ace362da","original_commit_id":"86d4104b36e0aaf29e7e772ceddc6695ace362da","user":{"login":"dothidiemthao","id":21377118,"avatar_url":"https://avatars.githubusercontent.com/u/21377118?v=3","gravatar_id":"","url":"https://api.github.com/users/dothidiemthao","html_url":"https://github.com/dothidiemthao","followers_url":"https://api.github.com/users/dothidiemthao/followers","following_url":"https://api.github.com/users/dothidiemthao/following{/other_user}","gists_url":"https://api.github.com/users/dothidiemthao/gists{/gist_id}","starred_url":"https://api.github.com/users/dothidiemthao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dothidiemthao/subscriptions","organizations_url":"https://api.github.com/users/dothidiemthao/orgs","repos_url":"https://api.github.com/users/dothidiemthao/repos","events_url":"https://api.github.com/users/dothidiemthao/events{/privacy}","received_events_url":"https://api.github.com/users/dothidiemthao/received_events","type":"User","site_admin":false},"body":"i18n","created_at":"2016-12-30T04:13:55Z","updated_at":"2016-12-30T04:17:58Z","html_url":"https://github.com/framgia/ecommerce_09/pull/5#discussion_r94201468","pull_request_url":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/framgia/ecommerce_09/pulls/comments/94201468"},"html":{"href":"https://github.com/framgia/ecommerce_09/pull/5#discussion_r94201468"},"pull_request":{"href":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5","id":99353910,"html_url":"https://github.com/framgia/ecommerce_09/pull/5","diff_url":"https://github.com/framgia/ecommerce_09/pull/5.diff","patch_url":"https://github.com/framgia/ecommerce_09/pull/5.patch","issue_url":"https://api.github.com/repos/framgia/ecommerce_09/issues/5","number":5,"state":"open","locked":false,"title":"signin-signup-logout","user":{"login":"ngoctran2512","id":16175116,"avatar_url":"https://avatars.githubusercontent.com/u/16175116?v=3","gravatar_id":"","url":"https://api.github.com/users/ngoctran2512","html_url":"https://github.com/ngoctran2512","followers_url":"https://api.github.com/users/ngoctran2512/followers","following_url":"https://api.github.com/users/ngoctran2512/following{/other_user}","gists_url":"https://api.github.com/users/ngoctran2512/gists{/gist_id}","starred_url":"https://api.github.com/users/ngoctran2512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngoctran2512/subscriptions","organizations_url":"https://api.github.com/users/ngoctran2512/orgs","repos_url":"https://api.github.com/users/ngoctran2512/repos","events_url":"https://api.github.com/users/ngoctran2512/events{/privacy}","received_events_url":"https://api.github.com/users/ngoctran2512/received_events","type":"User","site_admin":false},"body":"signin-signup-logout","created_at":"2016-12-26T09:19:04Z","updated_at":"2016-12-30T04:17:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2ecafbe45c7c517e1e71f81f9e62fd286963ed0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5/commits","review_comments_url":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5/comments","review_comment_url":"https://api.github.com/repos/framgia/ecommerce_09/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ecommerce_09/issues/5/comments","statuses_url":"https://api.github.com/repos/framgia/ecommerce_09/statuses/86d4104b36e0aaf29e7e772ceddc6695ace362da","head":{"label":"ngoctran2512:sign-up","ref":"sign-up","sha":"86d4104b36e0aaf29e7e772ceddc6695ace362da","user":{"login":"ngoctran2512","id":16175116,"avatar_url":"https://avatars.githubusercontent.com/u/16175116?v=3","gravatar_id":"","url":"https://api.github.com/users/ngoctran2512","html_url":"https://github.com/ngoctran2512","followers_url":"https://api.github.com/users/ngoctran2512/followers","following_url":"https://api.github.com/users/ngoctran2512/following{/other_user}","gists_url":"https://api.github.com/users/ngoctran2512/gists{/gist_id}","starred_url":"https://api.github.com/users/ngoctran2512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngoctran2512/subscriptions","organizations_url":"https://api.github.com/users/ngoctran2512/orgs","repos_url":"https://api.github.com/users/ngoctran2512/repos","events_url":"https://api.github.com/users/ngoctran2512/events{/privacy}","received_events_url":"https://api.github.com/users/ngoctran2512/received_events","type":"User","site_admin":false},"repo":{"id":76816992,"name":"ecommerce_09","full_name":"ngoctran2512/ecommerce_09","owner":{"login":"ngoctran2512","id":16175116,"avatar_url":"https://avatars.githubusercontent.com/u/16175116?v=3","gravatar_id":"","url":"https://api.github.com/users/ngoctran2512","html_url":"https://github.com/ngoctran2512","followers_url":"https://api.github.com/users/ngoctran2512/followers","following_url":"https://api.github.com/users/ngoctran2512/following{/other_user}","gists_url":"https://api.github.com/users/ngoctran2512/gists{/gist_id}","starred_url":"https://api.github.com/users/ngoctran2512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngoctran2512/subscriptions","organizations_url":"https://api.github.com/users/ngoctran2512/orgs","repos_url":"https://api.github.com/users/ngoctran2512/repos","events_url":"https://api.github.com/users/ngoctran2512/events{/privacy}","received_events_url":"https://api.github.com/users/ngoctran2512/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ngoctran2512/ecommerce_09","description":null,"fork":true,"url":"https://api.github.com/repos/ngoctran2512/ecommerce_09","forks_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/forks","keys_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/teams","hooks_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/hooks","issue_events_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/issues/events{/number}","events_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/events","assignees_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/assignees{/user}","branches_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/branches{/branch}","tags_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/tags","blobs_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/statuses/{sha}","languages_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/languages","stargazers_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/stargazers","contributors_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/contributors","subscribers_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/subscribers","subscription_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/subscription","commits_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/contents/{+path}","compare_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/merges","archive_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/downloads","issues_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/issues{/number}","pulls_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/pulls{/number}","milestones_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/milestones{/number}","notifications_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/labels{/name}","releases_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/releases{/id}","deployments_url":"https://api.github.com/repos/ngoctran2512/ecommerce_09/deployments","created_at":"2016-12-19T01:15:10Z","updated_at":"2016-12-29T09:27:18Z","pushed_at":"2016-12-30T04:06:28Z","git_url":"git://github.com/ngoctran2512/ecommerce_09.git","ssh_url":"git@github.com:ngoctran2512/ecommerce_09.git","clone_url":"https://github.com/ngoctran2512/ecommerce_09.git","svn_url":"https://github.com/ngoctran2512/ecommerce_09","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"fb22562e2541976ecc40389b8a0b0e2dbe67eb9b","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":76631205,"name":"ecommerce_09","full_name":"framgia/ecommerce_09","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/ecommerce_09","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/ecommerce_09","forks_url":"https://api.github.com/repos/framgia/ecommerce_09/forks","keys_url":"https://api.github.com/repos/framgia/ecommerce_09/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ecommerce_09/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ecommerce_09/teams","hooks_url":"https://api.github.com/repos/framgia/ecommerce_09/hooks","issue_events_url":"https://api.github.com/repos/framgia/ecommerce_09/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ecommerce_09/events","assignees_url":"https://api.github.com/repos/framgia/ecommerce_09/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ecommerce_09/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ecommerce_09/tags","blobs_url":"https://api.github.com/repos/framgia/ecommerce_09/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ecommerce_09/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ecommerce_09/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ecommerce_09/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ecommerce_09/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ecommerce_09/languages","stargazers_url":"https://api.github.com/repos/framgia/ecommerce_09/stargazers","contributors_url":"https://api.github.com/repos/framgia/ecommerce_09/contributors","subscribers_url":"https://api.github.com/repos/framgia/ecommerce_09/subscribers","subscription_url":"https://api.github.com/repos/framgia/ecommerce_09/subscription","commits_url":"https://api.github.com/repos/framgia/ecommerce_09/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ecommerce_09/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ecommerce_09/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ecommerce_09/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ecommerce_09/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ecommerce_09/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ecommerce_09/merges","archive_url":"https://api.github.com/repos/framgia/ecommerce_09/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ecommerce_09/downloads","issues_url":"https://api.github.com/repos/framgia/ecommerce_09/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ecommerce_09/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ecommerce_09/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ecommerce_09/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ecommerce_09/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ecommerce_09/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ecommerce_09/deployments","created_at":"2016-12-16T07:17:58Z","updated_at":"2016-12-19T04:05:34Z","pushed_at":"2016-12-30T04:06:28Z","git_url":"git://github.com/framgia/ecommerce_09.git","ssh_url":"git@github.com:framgia/ecommerce_09.git","clone_url":"https://github.com/framgia/ecommerce_09.git","svn_url":"https://github.com/framgia/ecommerce_09","homepage":null,"size":30,"stargazers_count":1,"watchers_count":1,"language":"Ruby","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":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5"},"html":{"href":"https://github.com/framgia/ecommerce_09/pull/5"},"issue":{"href":"https://api.github.com/repos/framgia/ecommerce_09/issues/5"},"comments":{"href":"https://api.github.com/repos/framgia/ecommerce_09/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ecommerce_09/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ecommerce_09/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ecommerce_09/statuses/86d4104b36e0aaf29e7e772ceddc6695ace362da"}}}}
{"actor":{"display_login":"dothidiemthao"}}