{"action":"created","comment":{"url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/comments/47137427","id":47137427,"diff_hunk":"@@ -7,28 +7,28 @@\n     %a.navbar-brand(href=\"/\")\n       = image_tag(\"logo.png\", alt: \"PROTO TYPE - SHARE THE PROTOTYPE\", height: \"36px\")\n     .navbar-collapse.collapse.navbar-responsive-collapse\n-      //not login\n-      %ul.nav.navbar-nav.navbar-right\n-        %li\n-          .btn.btn-primary.navbar-btn\n-            %a{href: \"/login\"}\n-              Get Started\n-      //login\n-      %ul.nav.navbar-nav.navbar-right\n-        %li.dropdown\n-          %a.dropdown-toggle{aria: {expanded: false }, data: {toggle: \"dropdown\"}, href: \"#\", role: \"button\"}\n-          UserName\n-          %span.caret\n-          %ul.dropdown-menu{role: \"menu\"}\n-            %li\n-              %a{href: \"#\"} Profile Edit\n-            %li\n-              %a{href: \"#\"} Logout\n-        %li\n-          .btn.btn-primary.navbar-btn\n-            %a{href: \"/proto/new\"}\n-              New Proto\n-\n-\n+      -if user_signed_in?\n+        %ul.nav.navbar-nav.navbar-right\n+          %li.dropdown\n+            %a.dropdown-toggle{\"aria-expadend\" => \"false\", \"data-toggle\" => \"dropdown\", \"href\" => \"#\", \"role\" => \"button\"}\n+              UserName\n+              %span.caret\n+            %ul.dropdown-menu{role: \"menu\"}\n+              %li\n+                %a{href: \"/user/edit/#{current_user.id}\"} Profile Edit\n+              %li\n+                %a{href: \"#\"} Logout\n+          %li\n+            .btn.btn-primary.navbar-btn\n+              %a{href: \"/proto/new\"}","path":"app/views/layouts/_header.html.haml","position":40,"original_position":40,"commit_id":"14e9edfd6ca6f779a1953c1080ee403d299c069d","original_commit_id":"616efaf6c9f5c33385f86bb50b8f44b90b487052","user":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"body":"doneです！","created_at":"2015-12-09T19:17:35Z","updated_at":"2015-12-09T19:17:35Z","html_url":"https://github.com/ryosukemaehira/protospace/pull/4#discussion_r47137427","pull_request_url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/comments/47137427"},"html":{"href":"https://github.com/ryosukemaehira/protospace/pull/4#discussion_r47137427"},"pull_request":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4","id":52811181,"html_url":"https://github.com/ryosukemaehira/protospace/pull/4","diff_url":"https://github.com/ryosukemaehira/protospace/pull/4.diff","patch_url":"https://github.com/ryosukemaehira/protospace/pull/4.patch","issue_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues/4","number":4,"state":"open","locked":false,"title":"Deviseの導入","user":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n- pry-rails 入れました。\r\n- user情報のedit機能とsign_in機能を作りました。\r\n\r\n# WHY\r\n- 今後の開発効率を向上させるため\r\n- ユーザーがログイン、及びユーザー情報の編集ができるようにするため","created_at":"2015-12-07T06:56:41Z","updated_at":"2015-12-09T19:17:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df6242c09b327da5e4682872de588d8e395467b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues/4/comments","statuses_url":"https://api.github.com/repos/ryosukemaehira/protospace/statuses/14e9edfd6ca6f779a1953c1080ee403d299c069d","head":{"label":"ryosukemaehira:deviseの導入","ref":"deviseの導入","sha":"14e9edfd6ca6f779a1953c1080ee403d299c069d","user":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"repo":{"id":46841594,"name":"protospace","full_name":"ryosukemaehira/protospace","owner":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryosukemaehira/protospace","description":"","fork":false,"url":"https://api.github.com/repos/ryosukemaehira/protospace","forks_url":"https://api.github.com/repos/ryosukemaehira/protospace/forks","keys_url":"https://api.github.com/repos/ryosukemaehira/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryosukemaehira/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryosukemaehira/protospace/teams","hooks_url":"https://api.github.com/repos/ryosukemaehira/protospace/hooks","issue_events_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/ryosukemaehira/protospace/events","assignees_url":"https://api.github.com/repos/ryosukemaehira/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/ryosukemaehira/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/ryosukemaehira/protospace/tags","blobs_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryosukemaehira/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/ryosukemaehira/protospace/languages","stargazers_url":"https://api.github.com/repos/ryosukemaehira/protospace/stargazers","contributors_url":"https://api.github.com/repos/ryosukemaehira/protospace/contributors","subscribers_url":"https://api.github.com/repos/ryosukemaehira/protospace/subscribers","subscription_url":"https://api.github.com/repos/ryosukemaehira/protospace/subscription","commits_url":"https://api.github.com/repos/ryosukemaehira/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryosukemaehira/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryosukemaehira/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/ryosukemaehira/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryosukemaehira/protospace/merges","archive_url":"https://api.github.com/repos/ryosukemaehira/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryosukemaehira/protospace/downloads","issues_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/ryosukemaehira/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/ryosukemaehira/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryosukemaehira/protospace/labels{/name}","releases_url":"https://api.github.com/repos/ryosukemaehira/protospace/releases{/id}","created_at":"2015-11-25T06:17:28Z","updated_at":"2015-11-29T11:30:27Z","pushed_at":"2015-12-09T18:11:38Z","git_url":"git://github.com/ryosukemaehira/protospace.git","ssh_url":"git@github.com:ryosukemaehira/protospace.git","clone_url":"https://github.com/ryosukemaehira/protospace.git","svn_url":"https://github.com/ryosukemaehira/protospace","homepage":"","size":654,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ryosukemaehira:master","ref":"master","sha":"7bd92989d965a3fbc7490e13275297122ba776b5","user":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"repo":{"id":46841594,"name":"protospace","full_name":"ryosukemaehira/protospace","owner":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryosukemaehira/protospace","description":"","fork":false,"url":"https://api.github.com/repos/ryosukemaehira/protospace","forks_url":"https://api.github.com/repos/ryosukemaehira/protospace/forks","keys_url":"https://api.github.com/repos/ryosukemaehira/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryosukemaehira/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryosukemaehira/protospace/teams","hooks_url":"https://api.github.com/repos/ryosukemaehira/protospace/hooks","issue_events_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/ryosukemaehira/protospace/events","assignees_url":"https://api.github.com/repos/ryosukemaehira/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/ryosukemaehira/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/ryosukemaehira/protospace/tags","blobs_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryosukemaehira/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/ryosukemaehira/protospace/languages","stargazers_url":"https://api.github.com/repos/ryosukemaehira/protospace/stargazers","contributors_url":"https://api.github.com/repos/ryosukemaehira/protospace/contributors","subscribers_url":"https://api.github.com/repos/ryosukemaehira/protospace/subscribers","subscription_url":"https://api.github.com/repos/ryosukemaehira/protospace/subscription","commits_url":"https://api.github.com/repos/ryosukemaehira/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryosukemaehira/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryosukemaehira/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryosukemaehira/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/ryosukemaehira/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryosukemaehira/protospace/merges","archive_url":"https://api.github.com/repos/ryosukemaehira/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryosukemaehira/protospace/downloads","issues_url":"https://api.github.com/repos/ryosukemaehira/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/ryosukemaehira/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/ryosukemaehira/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/ryosukemaehira/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryosukemaehira/protospace/labels{/name}","releases_url":"https://api.github.com/repos/ryosukemaehira/protospace/releases{/id}","created_at":"2015-11-25T06:17:28Z","updated_at":"2015-11-29T11:30:27Z","pushed_at":"2015-12-09T18:11:38Z","git_url":"git://github.com/ryosukemaehira/protospace.git","ssh_url":"git@github.com:ryosukemaehira/protospace.git","clone_url":"https://github.com/ryosukemaehira/protospace.git","svn_url":"https://github.com/ryosukemaehira/protospace","homepage":"","size":654,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4"},"html":{"href":"https://github.com/ryosukemaehira/protospace/pull/4"},"issue":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/issues/4"},"comments":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ryosukemaehira/protospace/statuses/14e9edfd6ca6f779a1953c1080ee403d299c069d"}}}}