{"action":"created","comment":{"url":"https://api.github.com/repos/conco119/sample_app/pulls/comments/114052044","pull_request_review_id":35495040,"id":114052044,"diff_hunk":"@@ -2,11 +2,26 @@\n   <div class=\"container\">\n     <%= link_to t(\".sample_app\"), root_path, id: \"logo\" %>\n     <nav>\n-      <ul class=\"nav navbar-nav nav-right\">\n+      <ul class=\"nav navbar-nav navbar-right\">\n         <li><%= link_to t(\".home\"), root_path %></li>\n         <li><%= link_to t(\".help\"), help_path %></li>\n-        <li><%= link_to t(\".about\"), about_path %></li>\n-        <li><%= link_to t(\".contact\"), contact_path %></li>\n+        <% if logged_in? %>\n+          <li class=\"dropdown\">\n+            <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\n+              Account <b class=\"caret\"></b>\n+            </a>\n+            <ul class=\"dropdown-menu\">\n+              <li><%= link_to t(\".profile\"), current_user %></li>\n+              <li><%= link_to t(\".setting\"), '#' %></li>","path":"app/views/layouts/_header.html.erb","position":17,"original_position":17,"commit_id":"000bb32e038838cd6d0069704400805c6ab6c84a","original_commit_id":"000bb32e038838cd6d0069704400805c6ab6c84a","user":{"login":"Nxthien","id":15186509,"avatar_url":"https://avatars1.githubusercontent.com/u/15186509?v=3","gravatar_id":"","url":"https://api.github.com/users/Nxthien","html_url":"https://github.com/Nxthien","followers_url":"https://api.github.com/users/Nxthien/followers","following_url":"https://api.github.com/users/Nxthien/following{/other_user}","gists_url":"https://api.github.com/users/Nxthien/gists{/gist_id}","starred_url":"https://api.github.com/users/Nxthien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nxthien/subscriptions","organizations_url":"https://api.github.com/users/Nxthien/orgs","repos_url":"https://api.github.com/users/Nxthien/repos","events_url":"https://api.github.com/users/Nxthien/events{/privacy}","received_events_url":"https://api.github.com/users/Nxthien/received_events","type":"User","site_admin":false},"body":"nháy \"","created_at":"2017-04-29T11:48:57Z","updated_at":"2017-04-29T11:48:57Z","html_url":"https://github.com/conco119/sample_app/pull/9#discussion_r114052044","pull_request_url":"https://api.github.com/repos/conco119/sample_app/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/conco119/sample_app/pulls/comments/114052044"},"html":{"href":"https://github.com/conco119/sample_app/pull/9#discussion_r114052044"},"pull_request":{"href":"https://api.github.com/repos/conco119/sample_app/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/conco119/sample_app/pulls/9","id":118271034,"html_url":"https://github.com/conco119/sample_app/pull/9","diff_url":"https://github.com/conco119/sample_app/pull/9.diff","patch_url":"https://github.com/conco119/sample_app/pull/9.patch","issue_url":"https://api.github.com/repos/conco119/sample_app/issues/9","number":9,"state":"open","locked":false,"title":"Basic login","user":{"login":"conco119","id":21028808,"avatar_url":"https://avatars1.githubusercontent.com/u/21028808?v=3","gravatar_id":"","url":"https://api.github.com/users/conco119","html_url":"https://github.com/conco119","followers_url":"https://api.github.com/users/conco119/followers","following_url":"https://api.github.com/users/conco119/following{/other_user}","gists_url":"https://api.github.com/users/conco119/gists{/gist_id}","starred_url":"https://api.github.com/users/conco119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conco119/subscriptions","organizations_url":"https://api.github.com/users/conco119/orgs","repos_url":"https://api.github.com/users/conco119/repos","events_url":"https://api.github.com/users/conco119/events{/privacy}","received_events_url":"https://api.github.com/users/conco119/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-29T10:57:53Z","updated_at":"2017-04-29T11:48:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7c54646b330603bcfbaa686c48c9f94dfc10ff2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/conco119/sample_app/pulls/9/commits","review_comments_url":"https://api.github.com/repos/conco119/sample_app/pulls/9/comments","review_comment_url":"https://api.github.com/repos/conco119/sample_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conco119/sample_app/issues/9/comments","statuses_url":"https://api.github.com/repos/conco119/sample_app/statuses/000bb32e038838cd6d0069704400805c6ab6c84a","head":{"label":"conco119:chap8","ref":"chap8","sha":"000bb32e038838cd6d0069704400805c6ab6c84a","user":{"login":"conco119","id":21028808,"avatar_url":"https://avatars1.githubusercontent.com/u/21028808?v=3","gravatar_id":"","url":"https://api.github.com/users/conco119","html_url":"https://github.com/conco119","followers_url":"https://api.github.com/users/conco119/followers","following_url":"https://api.github.com/users/conco119/following{/other_user}","gists_url":"https://api.github.com/users/conco119/gists{/gist_id}","starred_url":"https://api.github.com/users/conco119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conco119/subscriptions","organizations_url":"https://api.github.com/users/conco119/orgs","repos_url":"https://api.github.com/users/conco119/repos","events_url":"https://api.github.com/users/conco119/events{/privacy}","received_events_url":"https://api.github.com/users/conco119/received_events","type":"User","site_admin":false},"repo":{"id":88238149,"name":"sample_app","full_name":"conco119/sample_app","owner":{"login":"conco119","id":21028808,"avatar_url":"https://avatars1.githubusercontent.com/u/21028808?v=3","gravatar_id":"","url":"https://api.github.com/users/conco119","html_url":"https://github.com/conco119","followers_url":"https://api.github.com/users/conco119/followers","following_url":"https://api.github.com/users/conco119/following{/other_user}","gists_url":"https://api.github.com/users/conco119/gists{/gist_id}","starred_url":"https://api.github.com/users/conco119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conco119/subscriptions","organizations_url":"https://api.github.com/users/conco119/orgs","repos_url":"https://api.github.com/users/conco119/repos","events_url":"https://api.github.com/users/conco119/events{/privacy}","received_events_url":"https://api.github.com/users/conco119/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/conco119/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/conco119/sample_app","forks_url":"https://api.github.com/repos/conco119/sample_app/forks","keys_url":"https://api.github.com/repos/conco119/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conco119/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conco119/sample_app/teams","hooks_url":"https://api.github.com/repos/conco119/sample_app/hooks","issue_events_url":"https://api.github.com/repos/conco119/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/conco119/sample_app/events","assignees_url":"https://api.github.com/repos/conco119/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/conco119/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/conco119/sample_app/tags","blobs_url":"https://api.github.com/repos/conco119/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conco119/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conco119/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/conco119/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conco119/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/conco119/sample_app/languages","stargazers_url":"https://api.github.com/repos/conco119/sample_app/stargazers","contributors_url":"https://api.github.com/repos/conco119/sample_app/contributors","subscribers_url":"https://api.github.com/repos/conco119/sample_app/subscribers","subscription_url":"https://api.github.com/repos/conco119/sample_app/subscription","commits_url":"https://api.github.com/repos/conco119/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/conco119/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/conco119/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/conco119/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/conco119/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/conco119/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conco119/sample_app/merges","archive_url":"https://api.github.com/repos/conco119/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conco119/sample_app/downloads","issues_url":"https://api.github.com/repos/conco119/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/conco119/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/conco119/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/conco119/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conco119/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/conco119/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/conco119/sample_app/deployments","created_at":"2017-04-14T06:04:57Z","updated_at":"2017-04-14T07:19:18Z","pushed_at":"2017-04-29T10:57:53Z","git_url":"git://github.com/conco119/sample_app.git","ssh_url":"git@github.com:conco119/sample_app.git","clone_url":"https://github.com/conco119/sample_app.git","svn_url":"https://github.com/conco119/sample_app","homepage":null,"size":193,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"conco119:develop","ref":"develop","sha":"7f3cdf6d76d7194a13c38de0f54dfebc54a8555c","user":{"login":"conco119","id":21028808,"avatar_url":"https://avatars1.githubusercontent.com/u/21028808?v=3","gravatar_id":"","url":"https://api.github.com/users/conco119","html_url":"https://github.com/conco119","followers_url":"https://api.github.com/users/conco119/followers","following_url":"https://api.github.com/users/conco119/following{/other_user}","gists_url":"https://api.github.com/users/conco119/gists{/gist_id}","starred_url":"https://api.github.com/users/conco119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conco119/subscriptions","organizations_url":"https://api.github.com/users/conco119/orgs","repos_url":"https://api.github.com/users/conco119/repos","events_url":"https://api.github.com/users/conco119/events{/privacy}","received_events_url":"https://api.github.com/users/conco119/received_events","type":"User","site_admin":false},"repo":{"id":88238149,"name":"sample_app","full_name":"conco119/sample_app","owner":{"login":"conco119","id":21028808,"avatar_url":"https://avatars1.githubusercontent.com/u/21028808?v=3","gravatar_id":"","url":"https://api.github.com/users/conco119","html_url":"https://github.com/conco119","followers_url":"https://api.github.com/users/conco119/followers","following_url":"https://api.github.com/users/conco119/following{/other_user}","gists_url":"https://api.github.com/users/conco119/gists{/gist_id}","starred_url":"https://api.github.com/users/conco119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conco119/subscriptions","organizations_url":"https://api.github.com/users/conco119/orgs","repos_url":"https://api.github.com/users/conco119/repos","events_url":"https://api.github.com/users/conco119/events{/privacy}","received_events_url":"https://api.github.com/users/conco119/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/conco119/sample_app","description":null,"fork":false,"url":"https://api.github.com/repos/conco119/sample_app","forks_url":"https://api.github.com/repos/conco119/sample_app/forks","keys_url":"https://api.github.com/repos/conco119/sample_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conco119/sample_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conco119/sample_app/teams","hooks_url":"https://api.github.com/repos/conco119/sample_app/hooks","issue_events_url":"https://api.github.com/repos/conco119/sample_app/issues/events{/number}","events_url":"https://api.github.com/repos/conco119/sample_app/events","assignees_url":"https://api.github.com/repos/conco119/sample_app/assignees{/user}","branches_url":"https://api.github.com/repos/conco119/sample_app/branches{/branch}","tags_url":"https://api.github.com/repos/conco119/sample_app/tags","blobs_url":"https://api.github.com/repos/conco119/sample_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conco119/sample_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conco119/sample_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/conco119/sample_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conco119/sample_app/statuses/{sha}","languages_url":"https://api.github.com/repos/conco119/sample_app/languages","stargazers_url":"https://api.github.com/repos/conco119/sample_app/stargazers","contributors_url":"https://api.github.com/repos/conco119/sample_app/contributors","subscribers_url":"https://api.github.com/repos/conco119/sample_app/subscribers","subscription_url":"https://api.github.com/repos/conco119/sample_app/subscription","commits_url":"https://api.github.com/repos/conco119/sample_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/conco119/sample_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/conco119/sample_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/conco119/sample_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/conco119/sample_app/contents/{+path}","compare_url":"https://api.github.com/repos/conco119/sample_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conco119/sample_app/merges","archive_url":"https://api.github.com/repos/conco119/sample_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conco119/sample_app/downloads","issues_url":"https://api.github.com/repos/conco119/sample_app/issues{/number}","pulls_url":"https://api.github.com/repos/conco119/sample_app/pulls{/number}","milestones_url":"https://api.github.com/repos/conco119/sample_app/milestones{/number}","notifications_url":"https://api.github.com/repos/conco119/sample_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conco119/sample_app/labels{/name}","releases_url":"https://api.github.com/repos/conco119/sample_app/releases{/id}","deployments_url":"https://api.github.com/repos/conco119/sample_app/deployments","created_at":"2017-04-14T06:04:57Z","updated_at":"2017-04-14T07:19:18Z","pushed_at":"2017-04-29T10:57:53Z","git_url":"git://github.com/conco119/sample_app.git","ssh_url":"git@github.com:conco119/sample_app.git","clone_url":"https://github.com/conco119/sample_app.git","svn_url":"https://github.com/conco119/sample_app","homepage":null,"size":193,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conco119/sample_app/pulls/9"},"html":{"href":"https://github.com/conco119/sample_app/pull/9"},"issue":{"href":"https://api.github.com/repos/conco119/sample_app/issues/9"},"comments":{"href":"https://api.github.com/repos/conco119/sample_app/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/conco119/sample_app/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/conco119/sample_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conco119/sample_app/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/conco119/sample_app/statuses/000bb32e038838cd6d0069704400805c6ab6c84a"}}}}
{"actor":{"display_login":"Nxthien"}}