{"action":"created","comment":{"url":"https://api.github.com/repos/premier-spa/research_app/pulls/comments/227842252","pull_request_review_id":167974927,"id":227842252,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzg0MjI1Mg==","diff_hunk":"@@ -21,33 +21,39 @@\n                 <div class=\"navbar-fixed\">\n                     <nav class=\"nav-extended white\">\n                         <div class=\"nav-wrapper\">\n-                            <!-- has_labsが修正されるまでの応急処置 -->\n-                            <% if current_user.get_prime_lab %>\n-                            <!-- 複数の研究室に所属する場合、最初に登録した研究室をHomeとしてます -->\n-                                <%= link_to current_user.get_prime_lab.name, current_user.get_prime_lab , class: \"brand-logo grey-text text-darken-2\" %>\n+                            <% unless @lab.nil? %>\n+                                <% if @lab.has_lab_id? %>","path":"app/views/layouts/application.html.erb","position":9,"original_position":9,"commit_id":"d9311d1a6c0d03f601416cba78066e1d112416fa","original_commit_id":"d9311d1a6c0d03f601416cba78066e1d112416fa","user":{"login":"Kuratech5","id":27124851,"node_id":"MDQ6VXNlcjI3MTI0ODUx","avatar_url":"https://avatars2.githubusercontent.com/u/27124851?v=4","gravatar_id":"","url":"https://api.github.com/users/Kuratech5","html_url":"https://github.com/Kuratech5","followers_url":"https://api.github.com/users/Kuratech5/followers","following_url":"https://api.github.com/users/Kuratech5/following{/other_user}","gists_url":"https://api.github.com/users/Kuratech5/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuratech5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuratech5/subscriptions","organizations_url":"https://api.github.com/users/Kuratech5/orgs","repos_url":"https://api.github.com/users/Kuratech5/repos","events_url":"https://api.github.com/users/Kuratech5/events{/privacy}","received_events_url":"https://api.github.com/users/Kuratech5/received_events","type":"User","site_admin":false},"body":"newの段階では＠labは存在するがidはnilであるためです。","created_at":"2018-10-24T15:30:23Z","updated_at":"2018-10-24T15:30:24Z","html_url":"https://github.com/premier-spa/research_app/pull/58#discussion_r227842252","pull_request_url":"https://api.github.com/repos/premier-spa/research_app/pulls/58","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/premier-spa/research_app/pulls/comments/227842252"},"html":{"href":"https://github.com/premier-spa/research_app/pull/58#discussion_r227842252"},"pull_request":{"href":"https://api.github.com/repos/premier-spa/research_app/pulls/58"}},"in_reply_to_id":227787231},"pull_request":{"url":"https://api.github.com/repos/premier-spa/research_app/pulls/58","id":225266522,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MjY2NTIy","html_url":"https://github.com/premier-spa/research_app/pull/58","diff_url":"https://github.com/premier-spa/research_app/pull/58.diff","patch_url":"https://github.com/premier-spa/research_app/pull/58.patch","issue_url":"https://api.github.com/repos/premier-spa/research_app/issues/58","number":58,"state":"open","locked":false,"title":"メニューバーが現在閲覧中の研究室サイトに紐づくようにしました。","user":{"login":"Kuratech5","id":27124851,"node_id":"MDQ6VXNlcjI3MTI0ODUx","avatar_url":"https://avatars2.githubusercontent.com/u/27124851?v=4","gravatar_id":"","url":"https://api.github.com/users/Kuratech5","html_url":"https://github.com/Kuratech5","followers_url":"https://api.github.com/users/Kuratech5/followers","following_url":"https://api.github.com/users/Kuratech5/following{/other_user}","gists_url":"https://api.github.com/users/Kuratech5/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuratech5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuratech5/subscriptions","organizations_url":"https://api.github.com/users/Kuratech5/orgs","repos_url":"https://api.github.com/users/Kuratech5/repos","events_url":"https://api.github.com/users/Kuratech5/events{/privacy}","received_events_url":"https://api.github.com/users/Kuratech5/received_events","type":"User","site_admin":false},"body":"#56 \r\n\r\n@hiracky16 \r\n知識不足で、いろいろとお騒がせしましたが、たぶんできてると思います。\r\n確認お願いします。","created_at":"2018-10-24T05:09:43Z","updated_at":"2018-10-24T15:30:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0688cbf1aa79b9f1be64489c06fb50331b581300","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/premier-spa/research_app/pulls/58/commits","review_comments_url":"https://api.github.com/repos/premier-spa/research_app/pulls/58/comments","review_comment_url":"https://api.github.com/repos/premier-spa/research_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/premier-spa/research_app/issues/58/comments","statuses_url":"https://api.github.com/repos/premier-spa/research_app/statuses/d9311d1a6c0d03f601416cba78066e1d112416fa","head":{"label":"premier-spa:feature/fix_lab_routing","ref":"feature/fix_lab_routing","sha":"d9311d1a6c0d03f601416cba78066e1d112416fa","user":{"login":"premier-spa","id":30144221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTQ0MjIx","avatar_url":"https://avatars2.githubusercontent.com/u/30144221?v=4","gravatar_id":"","url":"https://api.github.com/users/premier-spa","html_url":"https://github.com/premier-spa","followers_url":"https://api.github.com/users/premier-spa/followers","following_url":"https://api.github.com/users/premier-spa/following{/other_user}","gists_url":"https://api.github.com/users/premier-spa/gists{/gist_id}","starred_url":"https://api.github.com/users/premier-spa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premier-spa/subscriptions","organizations_url":"https://api.github.com/users/premier-spa/orgs","repos_url":"https://api.github.com/users/premier-spa/repos","events_url":"https://api.github.com/users/premier-spa/events{/privacy}","received_events_url":"https://api.github.com/users/premier-spa/received_events","type":"Organization","site_admin":false},"repo":{"id":144423513,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ0MjM1MTM=","name":"research_app","full_name":"premier-spa/research_app","private":false,"owner":{"login":"premier-spa","id":30144221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTQ0MjIx","avatar_url":"https://avatars2.githubusercontent.com/u/30144221?v=4","gravatar_id":"","url":"https://api.github.com/users/premier-spa","html_url":"https://github.com/premier-spa","followers_url":"https://api.github.com/users/premier-spa/followers","following_url":"https://api.github.com/users/premier-spa/following{/other_user}","gists_url":"https://api.github.com/users/premier-spa/gists{/gist_id}","starred_url":"https://api.github.com/users/premier-spa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premier-spa/subscriptions","organizations_url":"https://api.github.com/users/premier-spa/orgs","repos_url":"https://api.github.com/users/premier-spa/repos","events_url":"https://api.github.com/users/premier-spa/events{/privacy}","received_events_url":"https://api.github.com/users/premier-spa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/premier-spa/research_app","description":null,"fork":false,"url":"https://api.github.com/repos/premier-spa/research_app","forks_url":"https://api.github.com/repos/premier-spa/research_app/forks","keys_url":"https://api.github.com/repos/premier-spa/research_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/premier-spa/research_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/premier-spa/research_app/teams","hooks_url":"https://api.github.com/repos/premier-spa/research_app/hooks","issue_events_url":"https://api.github.com/repos/premier-spa/research_app/issues/events{/number}","events_url":"https://api.github.com/repos/premier-spa/research_app/events","assignees_url":"https://api.github.com/repos/premier-spa/research_app/assignees{/user}","branches_url":"https://api.github.com/repos/premier-spa/research_app/branches{/branch}","tags_url":"https://api.github.com/repos/premier-spa/research_app/tags","blobs_url":"https://api.github.com/repos/premier-spa/research_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/premier-spa/research_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/premier-spa/research_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/premier-spa/research_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/premier-spa/research_app/statuses/{sha}","languages_url":"https://api.github.com/repos/premier-spa/research_app/languages","stargazers_url":"https://api.github.com/repos/premier-spa/research_app/stargazers","contributors_url":"https://api.github.com/repos/premier-spa/research_app/contributors","subscribers_url":"https://api.github.com/repos/premier-spa/research_app/subscribers","subscription_url":"https://api.github.com/repos/premier-spa/research_app/subscription","commits_url":"https://api.github.com/repos/premier-spa/research_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/premier-spa/research_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/premier-spa/research_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/premier-spa/research_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/premier-spa/research_app/contents/{+path}","compare_url":"https://api.github.com/repos/premier-spa/research_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/premier-spa/research_app/merges","archive_url":"https://api.github.com/repos/premier-spa/research_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/premier-spa/research_app/downloads","issues_url":"https://api.github.com/repos/premier-spa/research_app/issues{/number}","pulls_url":"https://api.github.com/repos/premier-spa/research_app/pulls{/number}","milestones_url":"https://api.github.com/repos/premier-spa/research_app/milestones{/number}","notifications_url":"https://api.github.com/repos/premier-spa/research_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/premier-spa/research_app/labels{/name}","releases_url":"https://api.github.com/repos/premier-spa/research_app/releases{/id}","deployments_url":"https://api.github.com/repos/premier-spa/research_app/deployments","created_at":"2018-08-11T23:05:18Z","updated_at":"2018-10-23T11:07:50Z","pushed_at":"2018-10-24T15:10:27Z","git_url":"git://github.com/premier-spa/research_app.git","ssh_url":"git@github.com:premier-spa/research_app.git","clone_url":"https://github.com/premier-spa/research_app.git","svn_url":"https://github.com/premier-spa/research_app","homepage":null,"size":11297,"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":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"base":{"label":"premier-spa:master","ref":"master","sha":"7d2de0ba4da668324adacd7534c8dc315acf707f","user":{"login":"premier-spa","id":30144221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTQ0MjIx","avatar_url":"https://avatars2.githubusercontent.com/u/30144221?v=4","gravatar_id":"","url":"https://api.github.com/users/premier-spa","html_url":"https://github.com/premier-spa","followers_url":"https://api.github.com/users/premier-spa/followers","following_url":"https://api.github.com/users/premier-spa/following{/other_user}","gists_url":"https://api.github.com/users/premier-spa/gists{/gist_id}","starred_url":"https://api.github.com/users/premier-spa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premier-spa/subscriptions","organizations_url":"https://api.github.com/users/premier-spa/orgs","repos_url":"https://api.github.com/users/premier-spa/repos","events_url":"https://api.github.com/users/premier-spa/events{/privacy}","received_events_url":"https://api.github.com/users/premier-spa/received_events","type":"Organization","site_admin":false},"repo":{"id":144423513,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ0MjM1MTM=","name":"research_app","full_name":"premier-spa/research_app","private":false,"owner":{"login":"premier-spa","id":30144221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTQ0MjIx","avatar_url":"https://avatars2.githubusercontent.com/u/30144221?v=4","gravatar_id":"","url":"https://api.github.com/users/premier-spa","html_url":"https://github.com/premier-spa","followers_url":"https://api.github.com/users/premier-spa/followers","following_url":"https://api.github.com/users/premier-spa/following{/other_user}","gists_url":"https://api.github.com/users/premier-spa/gists{/gist_id}","starred_url":"https://api.github.com/users/premier-spa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premier-spa/subscriptions","organizations_url":"https://api.github.com/users/premier-spa/orgs","repos_url":"https://api.github.com/users/premier-spa/repos","events_url":"https://api.github.com/users/premier-spa/events{/privacy}","received_events_url":"https://api.github.com/users/premier-spa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/premier-spa/research_app","description":null,"fork":false,"url":"https://api.github.com/repos/premier-spa/research_app","forks_url":"https://api.github.com/repos/premier-spa/research_app/forks","keys_url":"https://api.github.com/repos/premier-spa/research_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/premier-spa/research_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/premier-spa/research_app/teams","hooks_url":"https://api.github.com/repos/premier-spa/research_app/hooks","issue_events_url":"https://api.github.com/repos/premier-spa/research_app/issues/events{/number}","events_url":"https://api.github.com/repos/premier-spa/research_app/events","assignees_url":"https://api.github.com/repos/premier-spa/research_app/assignees{/user}","branches_url":"https://api.github.com/repos/premier-spa/research_app/branches{/branch}","tags_url":"https://api.github.com/repos/premier-spa/research_app/tags","blobs_url":"https://api.github.com/repos/premier-spa/research_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/premier-spa/research_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/premier-spa/research_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/premier-spa/research_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/premier-spa/research_app/statuses/{sha}","languages_url":"https://api.github.com/repos/premier-spa/research_app/languages","stargazers_url":"https://api.github.com/repos/premier-spa/research_app/stargazers","contributors_url":"https://api.github.com/repos/premier-spa/research_app/contributors","subscribers_url":"https://api.github.com/repos/premier-spa/research_app/subscribers","subscription_url":"https://api.github.com/repos/premier-spa/research_app/subscription","commits_url":"https://api.github.com/repos/premier-spa/research_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/premier-spa/research_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/premier-spa/research_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/premier-spa/research_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/premier-spa/research_app/contents/{+path}","compare_url":"https://api.github.com/repos/premier-spa/research_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/premier-spa/research_app/merges","archive_url":"https://api.github.com/repos/premier-spa/research_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/premier-spa/research_app/downloads","issues_url":"https://api.github.com/repos/premier-spa/research_app/issues{/number}","pulls_url":"https://api.github.com/repos/premier-spa/research_app/pulls{/number}","milestones_url":"https://api.github.com/repos/premier-spa/research_app/milestones{/number}","notifications_url":"https://api.github.com/repos/premier-spa/research_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/premier-spa/research_app/labels{/name}","releases_url":"https://api.github.com/repos/premier-spa/research_app/releases{/id}","deployments_url":"https://api.github.com/repos/premier-spa/research_app/deployments","created_at":"2018-08-11T23:05:18Z","updated_at":"2018-10-23T11:07:50Z","pushed_at":"2018-10-24T15:10:27Z","git_url":"git://github.com/premier-spa/research_app.git","ssh_url":"git@github.com:premier-spa/research_app.git","clone_url":"https://github.com/premier-spa/research_app.git","svn_url":"https://github.com/premier-spa/research_app","homepage":null,"size":11297,"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":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/premier-spa/research_app/pulls/58"},"html":{"href":"https://github.com/premier-spa/research_app/pull/58"},"issue":{"href":"https://api.github.com/repos/premier-spa/research_app/issues/58"},"comments":{"href":"https://api.github.com/repos/premier-spa/research_app/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/premier-spa/research_app/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/premier-spa/research_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/premier-spa/research_app/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/premier-spa/research_app/statuses/d9311d1a6c0d03f601416cba78066e1d112416fa"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Kuratech5"}}