{"action":"created","comment":{"url":"https://api.github.com/repos/david-besserman/myflix/pulls/comments/45669838","id":45669838,"diff_hunk":"@@ -1,22 +1,23 @@\n %section#top-header.row\n   %h1.col-md-2\n     = link_to \"MyFLiX\"\n-  %ul.col-md-4.clearfix\n-    %li= link_to \"Videos\"\n-    %li= link_to \"My Queue\"\n-    %li= link_to \"People\"\n-  %form.col-md-5.navbar-form(action=\"\")\n-    .form-group\n-      %input.form-control(type=\"text\" placeholder=\"Search for videos here\")\n-    %button.btn.btn-default(type=\"submit\") Search\n-  #user_links.pull-right\n-    %ul\n-      %li.dropdown\n-        %a(href=\"#\" id=\"dlabel\" role=\"button\" data-toggle=\"dropdown\" class=\"dropdown-toggle\" data-target=\"#\")\n-          Welcome, Philip J. Fry\n-          %b.caret\n-        %ul.dropdown-menu(role=\"menu\" aria-labelledby=\"dlabel\")\n-          %li\n-            %a(href=\"#\") Account\n-            %a(href=\"#\") Plan and Billing\n-            %a(href=\"#\") Sign Out\n+  - if current_user\n+    %ul.col-md-4.clearfix\n+      %li= link_to \"Videos\"\n+      %li= link_to \"My Queue\"\n+      %li= link_to \"People\"\n+    = form_tag search_videos_path, class: 'col-md-5 navbar-form'do\n+      .form-group\n+        %input.form-control(name=\"search_term\" type=\"text\" placeholder=\"Search for videos here\")\n+      %button.btn.btn-default(type=\"submit\") Search","path":"app/views/shared/_header.html.haml","position":31,"original_position":31,"commit_id":"23e5c4d8ebc3b29a4114b0dc7e6cf4a3cb3555b1","original_commit_id":"23e5c4d8ebc3b29a4114b0dc7e6cf4a3cb3555b1","user":{"login":"tomtomecek","id":7385469,"avatar_url":"https://avatars.githubusercontent.com/u/7385469?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtomecek","html_url":"https://github.com/tomtomecek","followers_url":"https://api.github.com/users/tomtomecek/followers","following_url":"https://api.github.com/users/tomtomecek/following{/other_user}","gists_url":"https://api.github.com/users/tomtomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtomecek/subscriptions","organizations_url":"https://api.github.com/users/tomtomecek/orgs","repos_url":"https://api.github.com/users/tomtomecek/repos","events_url":"https://api.github.com/users/tomtomecek/events{/privacy}","received_events_url":"https://api.github.com/users/tomtomecek/received_events","type":"User","site_admin":false},"body":"Also here, you could try using a `button_tag` or `submit_tag ...`","created_at":"2015-11-23T22:22:07Z","updated_at":"2015-11-23T22:22:07Z","html_url":"https://github.com/david-besserman/myflix/pull/3#discussion_r45669838","pull_request_url":"https://api.github.com/repos/david-besserman/myflix/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/david-besserman/myflix/pulls/comments/45669838"},"html":{"href":"https://github.com/david-besserman/myflix/pull/3#discussion_r45669838"},"pull_request":{"href":"https://api.github.com/repos/david-besserman/myflix/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/david-besserman/myflix/pulls/3","id":51537341,"html_url":"https://github.com/david-besserman/myflix/pull/3","diff_url":"https://github.com/david-besserman/myflix/pull/3.diff","patch_url":"https://github.com/david-besserman/myflix/pull/3.patch","issue_url":"https://api.github.com/repos/david-besserman/myflix/issues/3","number":3,"state":"open","locked":false,"title":"Implemented search, videos and authentication","user":{"login":"david-besserman","id":13084838,"avatar_url":"https://avatars.githubusercontent.com/u/13084838?v=3","gravatar_id":"","url":"https://api.github.com/users/david-besserman","html_url":"https://github.com/david-besserman","followers_url":"https://api.github.com/users/david-besserman/followers","following_url":"https://api.github.com/users/david-besserman/following{/other_user}","gists_url":"https://api.github.com/users/david-besserman/gists{/gist_id}","starred_url":"https://api.github.com/users/david-besserman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-besserman/subscriptions","organizations_url":"https://api.github.com/users/david-besserman/orgs","repos_url":"https://api.github.com/users/david-besserman/repos","events_url":"https://api.github.com/users/david-besserman/events{/privacy}","received_events_url":"https://api.github.com/users/david-besserman/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-23T15:30:23Z","updated_at":"2015-11-23T22:22:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"796bee7a62ec508366027106744666543dfd4893","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/david-besserman/myflix/pulls/3/commits","review_comments_url":"https://api.github.com/repos/david-besserman/myflix/pulls/3/comments","review_comment_url":"https://api.github.com/repos/david-besserman/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/david-besserman/myflix/issues/3/comments","statuses_url":"https://api.github.com/repos/david-besserman/myflix/statuses/23e5c4d8ebc3b29a4114b0dc7e6cf4a3cb3555b1","head":{"label":"david-besserman:mod-2","ref":"mod-2","sha":"23e5c4d8ebc3b29a4114b0dc7e6cf4a3cb3555b1","user":{"login":"david-besserman","id":13084838,"avatar_url":"https://avatars.githubusercontent.com/u/13084838?v=3","gravatar_id":"","url":"https://api.github.com/users/david-besserman","html_url":"https://github.com/david-besserman","followers_url":"https://api.github.com/users/david-besserman/followers","following_url":"https://api.github.com/users/david-besserman/following{/other_user}","gists_url":"https://api.github.com/users/david-besserman/gists{/gist_id}","starred_url":"https://api.github.com/users/david-besserman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-besserman/subscriptions","organizations_url":"https://api.github.com/users/david-besserman/orgs","repos_url":"https://api.github.com/users/david-besserman/repos","events_url":"https://api.github.com/users/david-besserman/events{/privacy}","received_events_url":"https://api.github.com/users/david-besserman/received_events","type":"User","site_admin":false},"repo":{"id":45979090,"name":"myflix","full_name":"david-besserman/myflix","owner":{"login":"david-besserman","id":13084838,"avatar_url":"https://avatars.githubusercontent.com/u/13084838?v=3","gravatar_id":"","url":"https://api.github.com/users/david-besserman","html_url":"https://github.com/david-besserman","followers_url":"https://api.github.com/users/david-besserman/followers","following_url":"https://api.github.com/users/david-besserman/following{/other_user}","gists_url":"https://api.github.com/users/david-besserman/gists{/gist_id}","starred_url":"https://api.github.com/users/david-besserman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-besserman/subscriptions","organizations_url":"https://api.github.com/users/david-besserman/orgs","repos_url":"https://api.github.com/users/david-besserman/repos","events_url":"https://api.github.com/users/david-besserman/events{/privacy}","received_events_url":"https://api.github.com/users/david-besserman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/david-besserman/myflix","description":"","fork":false,"url":"https://api.github.com/repos/david-besserman/myflix","forks_url":"https://api.github.com/repos/david-besserman/myflix/forks","keys_url":"https://api.github.com/repos/david-besserman/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/david-besserman/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/david-besserman/myflix/teams","hooks_url":"https://api.github.com/repos/david-besserman/myflix/hooks","issue_events_url":"https://api.github.com/repos/david-besserman/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/david-besserman/myflix/events","assignees_url":"https://api.github.com/repos/david-besserman/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/david-besserman/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/david-besserman/myflix/tags","blobs_url":"https://api.github.com/repos/david-besserman/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/david-besserman/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/david-besserman/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/david-besserman/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/david-besserman/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/david-besserman/myflix/languages","stargazers_url":"https://api.github.com/repos/david-besserman/myflix/stargazers","contributors_url":"https://api.github.com/repos/david-besserman/myflix/contributors","subscribers_url":"https://api.github.com/repos/david-besserman/myflix/subscribers","subscription_url":"https://api.github.com/repos/david-besserman/myflix/subscription","commits_url":"https://api.github.com/repos/david-besserman/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/david-besserman/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/david-besserman/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/david-besserman/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/david-besserman/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/david-besserman/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/david-besserman/myflix/merges","archive_url":"https://api.github.com/repos/david-besserman/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/david-besserman/myflix/downloads","issues_url":"https://api.github.com/repos/david-besserman/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/david-besserman/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/david-besserman/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/david-besserman/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/david-besserman/myflix/labels{/name}","releases_url":"https://api.github.com/repos/david-besserman/myflix/releases{/id}","created_at":"2015-11-11T11:59:25Z","updated_at":"2015-11-11T11:59:53Z","pushed_at":"2015-11-23T15:30:23Z","git_url":"git://github.com/david-besserman/myflix.git","ssh_url":"git@github.com:david-besserman/myflix.git","clone_url":"https://github.com/david-besserman/myflix.git","svn_url":"https://github.com/david-besserman/myflix","homepage":null,"size":196,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"david-besserman:master","ref":"master","sha":"af469bfda5e6713171b9db1c03396b1d2eb1a549","user":{"login":"david-besserman","id":13084838,"avatar_url":"https://avatars.githubusercontent.com/u/13084838?v=3","gravatar_id":"","url":"https://api.github.com/users/david-besserman","html_url":"https://github.com/david-besserman","followers_url":"https://api.github.com/users/david-besserman/followers","following_url":"https://api.github.com/users/david-besserman/following{/other_user}","gists_url":"https://api.github.com/users/david-besserman/gists{/gist_id}","starred_url":"https://api.github.com/users/david-besserman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-besserman/subscriptions","organizations_url":"https://api.github.com/users/david-besserman/orgs","repos_url":"https://api.github.com/users/david-besserman/repos","events_url":"https://api.github.com/users/david-besserman/events{/privacy}","received_events_url":"https://api.github.com/users/david-besserman/received_events","type":"User","site_admin":false},"repo":{"id":45979090,"name":"myflix","full_name":"david-besserman/myflix","owner":{"login":"david-besserman","id":13084838,"avatar_url":"https://avatars.githubusercontent.com/u/13084838?v=3","gravatar_id":"","url":"https://api.github.com/users/david-besserman","html_url":"https://github.com/david-besserman","followers_url":"https://api.github.com/users/david-besserman/followers","following_url":"https://api.github.com/users/david-besserman/following{/other_user}","gists_url":"https://api.github.com/users/david-besserman/gists{/gist_id}","starred_url":"https://api.github.com/users/david-besserman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-besserman/subscriptions","organizations_url":"https://api.github.com/users/david-besserman/orgs","repos_url":"https://api.github.com/users/david-besserman/repos","events_url":"https://api.github.com/users/david-besserman/events{/privacy}","received_events_url":"https://api.github.com/users/david-besserman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/david-besserman/myflix","description":"","fork":false,"url":"https://api.github.com/repos/david-besserman/myflix","forks_url":"https://api.github.com/repos/david-besserman/myflix/forks","keys_url":"https://api.github.com/repos/david-besserman/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/david-besserman/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/david-besserman/myflix/teams","hooks_url":"https://api.github.com/repos/david-besserman/myflix/hooks","issue_events_url":"https://api.github.com/repos/david-besserman/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/david-besserman/myflix/events","assignees_url":"https://api.github.com/repos/david-besserman/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/david-besserman/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/david-besserman/myflix/tags","blobs_url":"https://api.github.com/repos/david-besserman/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/david-besserman/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/david-besserman/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/david-besserman/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/david-besserman/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/david-besserman/myflix/languages","stargazers_url":"https://api.github.com/repos/david-besserman/myflix/stargazers","contributors_url":"https://api.github.com/repos/david-besserman/myflix/contributors","subscribers_url":"https://api.github.com/repos/david-besserman/myflix/subscribers","subscription_url":"https://api.github.com/repos/david-besserman/myflix/subscription","commits_url":"https://api.github.com/repos/david-besserman/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/david-besserman/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/david-besserman/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/david-besserman/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/david-besserman/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/david-besserman/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/david-besserman/myflix/merges","archive_url":"https://api.github.com/repos/david-besserman/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/david-besserman/myflix/downloads","issues_url":"https://api.github.com/repos/david-besserman/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/david-besserman/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/david-besserman/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/david-besserman/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/david-besserman/myflix/labels{/name}","releases_url":"https://api.github.com/repos/david-besserman/myflix/releases{/id}","created_at":"2015-11-11T11:59:25Z","updated_at":"2015-11-11T11:59:53Z","pushed_at":"2015-11-23T15:30:23Z","git_url":"git://github.com/david-besserman/myflix.git","ssh_url":"git@github.com:david-besserman/myflix.git","clone_url":"https://github.com/david-besserman/myflix.git","svn_url":"https://github.com/david-besserman/myflix","homepage":null,"size":196,"stargazers_count":0,"watchers_count":0,"language":"HTML","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/david-besserman/myflix/pulls/3"},"html":{"href":"https://github.com/david-besserman/myflix/pull/3"},"issue":{"href":"https://api.github.com/repos/david-besserman/myflix/issues/3"},"comments":{"href":"https://api.github.com/repos/david-besserman/myflix/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/david-besserman/myflix/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/david-besserman/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/david-besserman/myflix/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/david-besserman/myflix/statuses/23e5c4d8ebc3b29a4114b0dc7e6cf4a3cb3555b1"}}}}