{"action":"created","comment":{"url":"https://api.github.com/repos/pustovalov/app/pulls/comments/42931394","id":42931394,"diff_hunk":"@@ -9,13 +9,42 @@\n   %body\n     %nav.navbar.navbar-static-top.navbar-inverse\n       .container\n-        %nav.collapse.navbar-collapse#navbar\n+        .navbar-header\n+          %button.navbar-toggle.collapsed{ type: \"button\", data: { toggle: \"collapse\", target: \"#navbar\" }  }\n+            %span.icon-bar\n+            %span.icon-bar\n+            %span.icon-bar\n+\n           %a.navbar-brand{ href: \"/\" }\n-            Флэшкарточкер\n+            Flashcards\n+            \n+        %nav.collapse.navbar-collapse#navbar\n+          - if current_user\n+            %ul.nav.navbar-nav\n+              %li\n+                = link_to \"All cards\", cards_path\n+              %li\n+                = link_to \"Add card\", new_card_path\n+            \n+            ","path":"app/views/layouts/application.html.haml","position":23,"original_position":23,"commit_id":"687b323eb2de24980ce299a919181291ae50fa44","original_commit_id":"687b323eb2de24980ce299a919181291ae50fa44","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line contains trailing whitespace","created_at":"2015-10-24T07:16:29Z","updated_at":"2015-10-24T07:16:29Z","html_url":"https://github.com/pustovalov/app/pull/10#discussion_r42931394","pull_request_url":"https://api.github.com/repos/pustovalov/app/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/pustovalov/app/pulls/comments/42931394"},"html":{"href":"https://github.com/pustovalov/app/pull/10#discussion_r42931394"},"pull_request":{"href":"https://api.github.com/repos/pustovalov/app/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/pustovalov/app/pulls/10","id":48649912,"html_url":"https://github.com/pustovalov/app/pull/10","diff_url":"https://github.com/pustovalov/app/pull/10.diff","patch_url":"https://github.com/pustovalov/app/pull/10.patch","issue_url":"https://api.github.com/repos/pustovalov/app/issues/10","number":10,"state":"open","locked":false,"title":"Authorization","user":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-24T06:14:16Z","updated_at":"2015-10-24T07:16:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1efeec009066597f86bd6c8c610a71e47aa58453","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pustovalov/app/pulls/10/commits","review_comments_url":"https://api.github.com/repos/pustovalov/app/pulls/10/comments","review_comment_url":"https://api.github.com/repos/pustovalov/app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pustovalov/app/issues/10/comments","statuses_url":"https://api.github.com/repos/pustovalov/app/statuses/687b323eb2de24980ce299a919181291ae50fa44","head":{"label":"pustovalov:authorization","ref":"authorization","sha":"687b323eb2de24980ce299a919181291ae50fa44","user":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"repo":{"id":43791908,"name":"app","full_name":"pustovalov/app","owner":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pustovalov/app","description":"","fork":false,"url":"https://api.github.com/repos/pustovalov/app","forks_url":"https://api.github.com/repos/pustovalov/app/forks","keys_url":"https://api.github.com/repos/pustovalov/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pustovalov/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pustovalov/app/teams","hooks_url":"https://api.github.com/repos/pustovalov/app/hooks","issue_events_url":"https://api.github.com/repos/pustovalov/app/issues/events{/number}","events_url":"https://api.github.com/repos/pustovalov/app/events","assignees_url":"https://api.github.com/repos/pustovalov/app/assignees{/user}","branches_url":"https://api.github.com/repos/pustovalov/app/branches{/branch}","tags_url":"https://api.github.com/repos/pustovalov/app/tags","blobs_url":"https://api.github.com/repos/pustovalov/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pustovalov/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pustovalov/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/pustovalov/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pustovalov/app/statuses/{sha}","languages_url":"https://api.github.com/repos/pustovalov/app/languages","stargazers_url":"https://api.github.com/repos/pustovalov/app/stargazers","contributors_url":"https://api.github.com/repos/pustovalov/app/contributors","subscribers_url":"https://api.github.com/repos/pustovalov/app/subscribers","subscription_url":"https://api.github.com/repos/pustovalov/app/subscription","commits_url":"https://api.github.com/repos/pustovalov/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/pustovalov/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/pustovalov/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/pustovalov/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/pustovalov/app/contents/{+path}","compare_url":"https://api.github.com/repos/pustovalov/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pustovalov/app/merges","archive_url":"https://api.github.com/repos/pustovalov/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pustovalov/app/downloads","issues_url":"https://api.github.com/repos/pustovalov/app/issues{/number}","pulls_url":"https://api.github.com/repos/pustovalov/app/pulls{/number}","milestones_url":"https://api.github.com/repos/pustovalov/app/milestones{/number}","notifications_url":"https://api.github.com/repos/pustovalov/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pustovalov/app/labels{/name}","releases_url":"https://api.github.com/repos/pustovalov/app/releases{/id}","created_at":"2015-10-07T02:56:29Z","updated_at":"2015-10-07T03:04:33Z","pushed_at":"2015-10-24T07:16:20Z","git_url":"git://github.com/pustovalov/app.git","ssh_url":"git@github.com:pustovalov/app.git","clone_url":"https://github.com/pustovalov/app.git","svn_url":"https://github.com/pustovalov/app","homepage":null,"size":420,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"pustovalov:master","ref":"master","sha":"59a77268d2b1ce6a64da2b0e17c0dc90526e596a","user":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"repo":{"id":43791908,"name":"app","full_name":"pustovalov/app","owner":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pustovalov/app","description":"","fork":false,"url":"https://api.github.com/repos/pustovalov/app","forks_url":"https://api.github.com/repos/pustovalov/app/forks","keys_url":"https://api.github.com/repos/pustovalov/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pustovalov/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pustovalov/app/teams","hooks_url":"https://api.github.com/repos/pustovalov/app/hooks","issue_events_url":"https://api.github.com/repos/pustovalov/app/issues/events{/number}","events_url":"https://api.github.com/repos/pustovalov/app/events","assignees_url":"https://api.github.com/repos/pustovalov/app/assignees{/user}","branches_url":"https://api.github.com/repos/pustovalov/app/branches{/branch}","tags_url":"https://api.github.com/repos/pustovalov/app/tags","blobs_url":"https://api.github.com/repos/pustovalov/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pustovalov/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pustovalov/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/pustovalov/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pustovalov/app/statuses/{sha}","languages_url":"https://api.github.com/repos/pustovalov/app/languages","stargazers_url":"https://api.github.com/repos/pustovalov/app/stargazers","contributors_url":"https://api.github.com/repos/pustovalov/app/contributors","subscribers_url":"https://api.github.com/repos/pustovalov/app/subscribers","subscription_url":"https://api.github.com/repos/pustovalov/app/subscription","commits_url":"https://api.github.com/repos/pustovalov/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/pustovalov/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/pustovalov/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/pustovalov/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/pustovalov/app/contents/{+path}","compare_url":"https://api.github.com/repos/pustovalov/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pustovalov/app/merges","archive_url":"https://api.github.com/repos/pustovalov/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pustovalov/app/downloads","issues_url":"https://api.github.com/repos/pustovalov/app/issues{/number}","pulls_url":"https://api.github.com/repos/pustovalov/app/pulls{/number}","milestones_url":"https://api.github.com/repos/pustovalov/app/milestones{/number}","notifications_url":"https://api.github.com/repos/pustovalov/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pustovalov/app/labels{/name}","releases_url":"https://api.github.com/repos/pustovalov/app/releases{/id}","created_at":"2015-10-07T02:56:29Z","updated_at":"2015-10-07T03:04:33Z","pushed_at":"2015-10-24T07:16:20Z","git_url":"git://github.com/pustovalov/app.git","ssh_url":"git@github.com:pustovalov/app.git","clone_url":"https://github.com/pustovalov/app.git","svn_url":"https://github.com/pustovalov/app","homepage":null,"size":420,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/pustovalov/app/pulls/10"},"html":{"href":"https://github.com/pustovalov/app/pull/10"},"issue":{"href":"https://api.github.com/repos/pustovalov/app/issues/10"},"comments":{"href":"https://api.github.com/repos/pustovalov/app/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/pustovalov/app/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/pustovalov/app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pustovalov/app/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/pustovalov/app/statuses/687b323eb2de24980ce299a919181291ae50fa44"}}}}