{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_166/pulls/comments/71865235","id":71865235,"diff_hunk":"@@ -0,0 +1,25 @@\n+class UsersController < ApplicationController\n+  def new\n+    @user = User.new\n+  end\n+\n+  def show\n+    @user = User.find params[:id]\n+  end\n+\n+  def create\n+    @user = User.new user_params\n+    if @user.save\n+      flash[:success] = t \"signup_success_msg\"\n+      redirect_to @user\n+    else\n+      render :new\n+    end\n+  end\n+\n+  private\n+  def user_params\n+    params.require(:user).permit :name, :email, :password, :avatar,\n+      :password_confirmation","path":"app/controllers/users_controller.rb","position":23,"original_position":23,"commit_id":"2612dc492fc6da0a5f1cef77200828f77baba78c","original_commit_id":"31a8353e50d5cba63cad4729d095cce0199407fb","user":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"body":"Em chưa thấy dòng trên có lỗi indent ạ","created_at":"2016-07-22T11:34:19Z","updated_at":"2016-07-22T11:34:19Z","html_url":"https://github.com/framgia/fels_166/pull/5#discussion_r71865235","pull_request_url":"https://api.github.com/repos/framgia/fels_166/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/comments/71865235"},"html":{"href":"https://github.com/framgia/fels_166/pull/5#discussion_r71865235"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_166/pulls/5","id":78458453,"html_url":"https://github.com/framgia/fels_166/pull/5","diff_url":"https://github.com/framgia/fels_166/pull/5.diff","patch_url":"https://github.com/framgia/fels_166/pull/5.patch","issue_url":"https://api.github.com/repos/framgia/fels_166/issues/5","number":5,"state":"open","locked":false,"title":"69832-signup","user":{"login":"TranVanQuy0204","id":20278708,"avatar_url":"https://avatars.githubusercontent.com/u/20278708?v=3","gravatar_id":"","url":"https://api.github.com/users/TranVanQuy0204","html_url":"https://github.com/TranVanQuy0204","followers_url":"https://api.github.com/users/TranVanQuy0204/followers","following_url":"https://api.github.com/users/TranVanQuy0204/following{/other_user}","gists_url":"https://api.github.com/users/TranVanQuy0204/gists{/gist_id}","starred_url":"https://api.github.com/users/TranVanQuy0204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TranVanQuy0204/subscriptions","organizations_url":"https://api.github.com/users/TranVanQuy0204/orgs","repos_url":"https://api.github.com/users/TranVanQuy0204/repos","events_url":"https://api.github.com/users/TranVanQuy0204/events{/privacy}","received_events_url":"https://api.github.com/users/TranVanQuy0204/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2016-07-22T10:45:52Z","updated_at":"2016-07-22T11:34:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26e8196ff045a9660a930f9830be3332448fad74","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_166/pulls/5/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_166/pulls/5/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_166/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_166/issues/5/comments","statuses_url":"https://api.github.com/repos/framgia/fels_166/statuses/2612dc492fc6da0a5f1cef77200828f77baba78c","head":{"label":"TrangVuUet:sign-up","ref":"sign-up","sha":"2612dc492fc6da0a5f1cef77200828f77baba78c","user":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"repo":{"id":63771320,"name":"fels_166","full_name":"TrangVuUet/fels_166","owner":{"login":"TrangVuUet","id":10094381,"avatar_url":"https://avatars.githubusercontent.com/u/10094381?v=3","gravatar_id":"","url":"https://api.github.com/users/TrangVuUet","html_url":"https://github.com/TrangVuUet","followers_url":"https://api.github.com/users/TrangVuUet/followers","following_url":"https://api.github.com/users/TrangVuUet/following{/other_user}","gists_url":"https://api.github.com/users/TrangVuUet/gists{/gist_id}","starred_url":"https://api.github.com/users/TrangVuUet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrangVuUet/subscriptions","organizations_url":"https://api.github.com/users/TrangVuUet/orgs","repos_url":"https://api.github.com/users/TrangVuUet/repos","events_url":"https://api.github.com/users/TrangVuUet/events{/privacy}","received_events_url":"https://api.github.com/users/TrangVuUet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TrangVuUet/fels_166","description":"Framgia Elearning System (Training)","fork":true,"url":"https://api.github.com/repos/TrangVuUet/fels_166","forks_url":"https://api.github.com/repos/TrangVuUet/fels_166/forks","keys_url":"https://api.github.com/repos/TrangVuUet/fels_166/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrangVuUet/fels_166/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrangVuUet/fels_166/teams","hooks_url":"https://api.github.com/repos/TrangVuUet/fels_166/hooks","issue_events_url":"https://api.github.com/repos/TrangVuUet/fels_166/issues/events{/number}","events_url":"https://api.github.com/repos/TrangVuUet/fels_166/events","assignees_url":"https://api.github.com/repos/TrangVuUet/fels_166/assignees{/user}","branches_url":"https://api.github.com/repos/TrangVuUet/fels_166/branches{/branch}","tags_url":"https://api.github.com/repos/TrangVuUet/fels_166/tags","blobs_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrangVuUet/fels_166/statuses/{sha}","languages_url":"https://api.github.com/repos/TrangVuUet/fels_166/languages","stargazers_url":"https://api.github.com/repos/TrangVuUet/fels_166/stargazers","contributors_url":"https://api.github.com/repos/TrangVuUet/fels_166/contributors","subscribers_url":"https://api.github.com/repos/TrangVuUet/fels_166/subscribers","subscription_url":"https://api.github.com/repos/TrangVuUet/fels_166/subscription","commits_url":"https://api.github.com/repos/TrangVuUet/fels_166/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrangVuUet/fels_166/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrangVuUet/fels_166/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrangVuUet/fels_166/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrangVuUet/fels_166/contents/{+path}","compare_url":"https://api.github.com/repos/TrangVuUet/fels_166/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrangVuUet/fels_166/merges","archive_url":"https://api.github.com/repos/TrangVuUet/fels_166/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrangVuUet/fels_166/downloads","issues_url":"https://api.github.com/repos/TrangVuUet/fels_166/issues{/number}","pulls_url":"https://api.github.com/repos/TrangVuUet/fels_166/pulls{/number}","milestones_url":"https://api.github.com/repos/TrangVuUet/fels_166/milestones{/number}","notifications_url":"https://api.github.com/repos/TrangVuUet/fels_166/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrangVuUet/fels_166/labels{/name}","releases_url":"https://api.github.com/repos/TrangVuUet/fels_166/releases{/id}","deployments_url":"https://api.github.com/repos/TrangVuUet/fels_166/deployments","created_at":"2016-07-20T10:06:20Z","updated_at":"2016-07-20T06:21:10Z","pushed_at":"2016-07-22T11:30:37Z","git_url":"git://github.com/TrangVuUet/fels_166.git","ssh_url":"git@github.com:TrangVuUet/fels_166.git","clone_url":"https://github.com/TrangVuUet/fels_166.git","svn_url":"https://github.com/TrangVuUet/fels_166","homepage":null,"size":260,"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":"626f8bb18f9502bb807fadb981bb2da3e61a6fad","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":63755793,"name":"fels_166","full_name":"framgia/fels_166","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/fels_166","description":"Framgia Elearning System (Training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_166","forks_url":"https://api.github.com/repos/framgia/fels_166/forks","keys_url":"https://api.github.com/repos/framgia/fels_166/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_166/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_166/teams","hooks_url":"https://api.github.com/repos/framgia/fels_166/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_166/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_166/events","assignees_url":"https://api.github.com/repos/framgia/fels_166/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_166/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_166/tags","blobs_url":"https://api.github.com/repos/framgia/fels_166/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_166/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_166/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_166/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_166/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_166/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_166/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_166/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_166/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_166/subscription","commits_url":"https://api.github.com/repos/framgia/fels_166/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_166/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_166/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_166/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_166/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_166/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_166/merges","archive_url":"https://api.github.com/repos/framgia/fels_166/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_166/downloads","issues_url":"https://api.github.com/repos/framgia/fels_166/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_166/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_166/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_166/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_166/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_166/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_166/deployments","created_at":"2016-07-20T06:21:10Z","updated_at":"2016-07-20T06:21:10Z","pushed_at":"2016-07-22T11:30:37Z","git_url":"git://github.com/framgia/fels_166.git","ssh_url":"git@github.com:framgia/fels_166.git","clone_url":"https://github.com/framgia/fels_166.git","svn_url":"https://github.com/framgia/fels_166","homepage":null,"size":146,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/5"},"html":{"href":"https://github.com/framgia/fels_166/pull/5"},"issue":{"href":"https://api.github.com/repos/framgia/fels_166/issues/5"},"comments":{"href":"https://api.github.com/repos/framgia/fels_166/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_166/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_166/statuses/2612dc492fc6da0a5f1cef77200828f77baba78c"}}}}
{"actor":{"display_login":"TrangVuUet"}}