{"action":"created","comment":{"url":"https://api.github.com/repos/Raybeam/zartan/pulls/comments/26864802","id":26864802,"diff_hunk":"@@ -11,28 +11,24 @@\n     <%= javascript_include_tag \"application\" %>\n   </head>\n   <body>\n-\n-    <%= nav_bar brand: 'Zartan', static: :top, responsive: true do %>\n-      <%= menu_group do %>\n-        <%= menu_item \"Sites\", sites_path %>\n-        <%= menu_item \"Sources\", sources_path %>\n-        <%= menu_item \"Settings\", config_path %>\n+    <% if current_user %>\n+      <%= nav_bar brand: 'Zartan', static: :top, responsive: true do %>\n+        <%= menu_group do %>\n+          <%= menu_item \"Sites\", sites_path %>\n+          <%= menu_item \"Sources\", sources_path %>\n+          <%= menu_item \"Settings\", config_path %>\n+          <%= menu_item \"Sign out\", signout_path %>\n+        <% end %>\n       <% end %>\n     <% end %>\n-\n     <div class=\"container\">\n       <div class=\"row\">\n         <div class=\"col-md-12\">\n+          <% unless current_user %><br/><% end %>\n           <%= bootstrap_flash %>\n           <%= yield %>\n         </div>\n       </div><!--/row-->\n-\n-      <footer>\n-        <p>&copy; Raybeam 2015</p>","path":"app/views/layouts/application.html.erb","position":31,"original_position":31,"commit_id":"cbd35de67068f00881a520e58b0960b3e3fa9efb","original_commit_id":"4eb9d940ed61c4eb6ea001be24e134eccfe81be1","user":{"login":"cmihm31","id":84141,"avatar_url":"https://avatars.githubusercontent.com/u/84141?v=3","gravatar_id":"","url":"https://api.github.com/users/cmihm31","html_url":"https://github.com/cmihm31","followers_url":"https://api.github.com/users/cmihm31/followers","following_url":"https://api.github.com/users/cmihm31/following{/other_user}","gists_url":"https://api.github.com/users/cmihm31/gists{/gist_id}","starred_url":"https://api.github.com/users/cmihm31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmihm31/subscriptions","organizations_url":"https://api.github.com/users/cmihm31/orgs","repos_url":"https://api.github.com/users/cmihm31/repos","events_url":"https://api.github.com/users/cmihm31/events{/privacy}","received_events_url":"https://api.github.com/users/cmihm31/received_events","type":"User","site_admin":false},"body":"why keep it...it is hardcoded as a date. I was going to do a UI redesign after I spoke with David as well, so I just removed the copyright here.","created_at":"2015-03-20T18:35:45Z","updated_at":"2015-03-20T18:35:45Z","html_url":"https://github.com/Raybeam/zartan/pull/39#discussion_r26864802","pull_request_url":"https://api.github.com/repos/Raybeam/zartan/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/Raybeam/zartan/pulls/comments/26864802"},"html":{"href":"https://github.com/Raybeam/zartan/pull/39#discussion_r26864802"},"pull_request":{"href":"https://api.github.com/repos/Raybeam/zartan/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/Raybeam/zartan/pulls/39","id":31634840,"html_url":"https://github.com/Raybeam/zartan/pull/39","diff_url":"https://github.com/Raybeam/zartan/pull/39.diff","patch_url":"https://github.com/Raybeam/zartan/pull/39.patch","issue_url":"https://api.github.com/repos/Raybeam/zartan/issues/39","number":39,"state":"open","locked":false,"title":"Authentication and Authorization","user":{"login":"cmihm31","id":84141,"avatar_url":"https://avatars.githubusercontent.com/u/84141?v=3","gravatar_id":"","url":"https://api.github.com/users/cmihm31","html_url":"https://github.com/cmihm31","followers_url":"https://api.github.com/users/cmihm31/followers","following_url":"https://api.github.com/users/cmihm31/following{/other_user}","gists_url":"https://api.github.com/users/cmihm31/gists{/gist_id}","starred_url":"https://api.github.com/users/cmihm31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmihm31/subscriptions","organizations_url":"https://api.github.com/users/cmihm31/orgs","repos_url":"https://api.github.com/users/cmihm31/repos","events_url":"https://api.github.com/users/cmihm31/events{/privacy}","received_events_url":"https://api.github.com/users/cmihm31/received_events","type":"User","site_admin":false},"body":"Simple straight forward google auth and Permissions for the site.\r\n","created_at":"2015-03-20T17:33:47Z","updated_at":"2015-03-20T18:35:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a5a04be2cd34129f4722768185289df4961e925","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Raybeam/zartan/pulls/39/commits","review_comments_url":"https://api.github.com/repos/Raybeam/zartan/pulls/39/comments","review_comment_url":"https://api.github.com/repos/Raybeam/zartan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Raybeam/zartan/issues/39/comments","statuses_url":"https://api.github.com/repos/Raybeam/zartan/statuses/cbd35de67068f00881a520e58b0960b3e3fa9efb","head":{"label":"Raybeam:lockdown","ref":"lockdown","sha":"cbd35de67068f00881a520e58b0960b3e3fa9efb","user":{"login":"Raybeam","id":1354868,"avatar_url":"https://avatars.githubusercontent.com/u/1354868?v=3","gravatar_id":"","url":"https://api.github.com/users/Raybeam","html_url":"https://github.com/Raybeam","followers_url":"https://api.github.com/users/Raybeam/followers","following_url":"https://api.github.com/users/Raybeam/following{/other_user}","gists_url":"https://api.github.com/users/Raybeam/gists{/gist_id}","starred_url":"https://api.github.com/users/Raybeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raybeam/subscriptions","organizations_url":"https://api.github.com/users/Raybeam/orgs","repos_url":"https://api.github.com/users/Raybeam/repos","events_url":"https://api.github.com/users/Raybeam/events{/privacy}","received_events_url":"https://api.github.com/users/Raybeam/received_events","type":"Organization","site_admin":false},"repo":{"id":30261239,"name":"zartan","full_name":"Raybeam/zartan","owner":{"login":"Raybeam","id":1354868,"avatar_url":"https://avatars.githubusercontent.com/u/1354868?v=3","gravatar_id":"","url":"https://api.github.com/users/Raybeam","html_url":"https://github.com/Raybeam","followers_url":"https://api.github.com/users/Raybeam/followers","following_url":"https://api.github.com/users/Raybeam/following{/other_user}","gists_url":"https://api.github.com/users/Raybeam/gists{/gist_id}","starred_url":"https://api.github.com/users/Raybeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raybeam/subscriptions","organizations_url":"https://api.github.com/users/Raybeam/orgs","repos_url":"https://api.github.com/users/Raybeam/repos","events_url":"https://api.github.com/users/Raybeam/events{/privacy}","received_events_url":"https://api.github.com/users/Raybeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Raybeam/zartan","description":"Web UI to create and manage http proxies from one or more sources.","fork":false,"url":"https://api.github.com/repos/Raybeam/zartan","forks_url":"https://api.github.com/repos/Raybeam/zartan/forks","keys_url":"https://api.github.com/repos/Raybeam/zartan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Raybeam/zartan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Raybeam/zartan/teams","hooks_url":"https://api.github.com/repos/Raybeam/zartan/hooks","issue_events_url":"https://api.github.com/repos/Raybeam/zartan/issues/events{/number}","events_url":"https://api.github.com/repos/Raybeam/zartan/events","assignees_url":"https://api.github.com/repos/Raybeam/zartan/assignees{/user}","branches_url":"https://api.github.com/repos/Raybeam/zartan/branches{/branch}","tags_url":"https://api.github.com/repos/Raybeam/zartan/tags","blobs_url":"https://api.github.com/repos/Raybeam/zartan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Raybeam/zartan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Raybeam/zartan/git/refs{/sha}","trees_url":"https://api.github.com/repos/Raybeam/zartan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Raybeam/zartan/statuses/{sha}","languages_url":"https://api.github.com/repos/Raybeam/zartan/languages","stargazers_url":"https://api.github.com/repos/Raybeam/zartan/stargazers","contributors_url":"https://api.github.com/repos/Raybeam/zartan/contributors","subscribers_url":"https://api.github.com/repos/Raybeam/zartan/subscribers","subscription_url":"https://api.github.com/repos/Raybeam/zartan/subscription","commits_url":"https://api.github.com/repos/Raybeam/zartan/commits{/sha}","git_commits_url":"https://api.github.com/repos/Raybeam/zartan/git/commits{/sha}","comments_url":"https://api.github.com/repos/Raybeam/zartan/comments{/number}","issue_comment_url":"https://api.github.com/repos/Raybeam/zartan/issues/comments{/number}","contents_url":"https://api.github.com/repos/Raybeam/zartan/contents/{+path}","compare_url":"https://api.github.com/repos/Raybeam/zartan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Raybeam/zartan/merges","archive_url":"https://api.github.com/repos/Raybeam/zartan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Raybeam/zartan/downloads","issues_url":"https://api.github.com/repos/Raybeam/zartan/issues{/number}","pulls_url":"https://api.github.com/repos/Raybeam/zartan/pulls{/number}","milestones_url":"https://api.github.com/repos/Raybeam/zartan/milestones{/number}","notifications_url":"https://api.github.com/repos/Raybeam/zartan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Raybeam/zartan/labels{/name}","releases_url":"https://api.github.com/repos/Raybeam/zartan/releases{/id}","created_at":"2015-02-03T19:48:11Z","updated_at":"2015-03-17T16:20:51Z","pushed_at":"2015-03-20T18:33:48Z","git_url":"git://github.com/Raybeam/zartan.git","ssh_url":"git@github.com:Raybeam/zartan.git","clone_url":"https://github.com/Raybeam/zartan.git","svn_url":"https://github.com/Raybeam/zartan","homepage":null,"size":876,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Raybeam:master","ref":"master","sha":"849e7141357f1bc1fe68f382c7003ddf8db2d8d3","user":{"login":"Raybeam","id":1354868,"avatar_url":"https://avatars.githubusercontent.com/u/1354868?v=3","gravatar_id":"","url":"https://api.github.com/users/Raybeam","html_url":"https://github.com/Raybeam","followers_url":"https://api.github.com/users/Raybeam/followers","following_url":"https://api.github.com/users/Raybeam/following{/other_user}","gists_url":"https://api.github.com/users/Raybeam/gists{/gist_id}","starred_url":"https://api.github.com/users/Raybeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raybeam/subscriptions","organizations_url":"https://api.github.com/users/Raybeam/orgs","repos_url":"https://api.github.com/users/Raybeam/repos","events_url":"https://api.github.com/users/Raybeam/events{/privacy}","received_events_url":"https://api.github.com/users/Raybeam/received_events","type":"Organization","site_admin":false},"repo":{"id":30261239,"name":"zartan","full_name":"Raybeam/zartan","owner":{"login":"Raybeam","id":1354868,"avatar_url":"https://avatars.githubusercontent.com/u/1354868?v=3","gravatar_id":"","url":"https://api.github.com/users/Raybeam","html_url":"https://github.com/Raybeam","followers_url":"https://api.github.com/users/Raybeam/followers","following_url":"https://api.github.com/users/Raybeam/following{/other_user}","gists_url":"https://api.github.com/users/Raybeam/gists{/gist_id}","starred_url":"https://api.github.com/users/Raybeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raybeam/subscriptions","organizations_url":"https://api.github.com/users/Raybeam/orgs","repos_url":"https://api.github.com/users/Raybeam/repos","events_url":"https://api.github.com/users/Raybeam/events{/privacy}","received_events_url":"https://api.github.com/users/Raybeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Raybeam/zartan","description":"Web UI to create and manage http proxies from one or more sources.","fork":false,"url":"https://api.github.com/repos/Raybeam/zartan","forks_url":"https://api.github.com/repos/Raybeam/zartan/forks","keys_url":"https://api.github.com/repos/Raybeam/zartan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Raybeam/zartan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Raybeam/zartan/teams","hooks_url":"https://api.github.com/repos/Raybeam/zartan/hooks","issue_events_url":"https://api.github.com/repos/Raybeam/zartan/issues/events{/number}","events_url":"https://api.github.com/repos/Raybeam/zartan/events","assignees_url":"https://api.github.com/repos/Raybeam/zartan/assignees{/user}","branches_url":"https://api.github.com/repos/Raybeam/zartan/branches{/branch}","tags_url":"https://api.github.com/repos/Raybeam/zartan/tags","blobs_url":"https://api.github.com/repos/Raybeam/zartan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Raybeam/zartan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Raybeam/zartan/git/refs{/sha}","trees_url":"https://api.github.com/repos/Raybeam/zartan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Raybeam/zartan/statuses/{sha}","languages_url":"https://api.github.com/repos/Raybeam/zartan/languages","stargazers_url":"https://api.github.com/repos/Raybeam/zartan/stargazers","contributors_url":"https://api.github.com/repos/Raybeam/zartan/contributors","subscribers_url":"https://api.github.com/repos/Raybeam/zartan/subscribers","subscription_url":"https://api.github.com/repos/Raybeam/zartan/subscription","commits_url":"https://api.github.com/repos/Raybeam/zartan/commits{/sha}","git_commits_url":"https://api.github.com/repos/Raybeam/zartan/git/commits{/sha}","comments_url":"https://api.github.com/repos/Raybeam/zartan/comments{/number}","issue_comment_url":"https://api.github.com/repos/Raybeam/zartan/issues/comments{/number}","contents_url":"https://api.github.com/repos/Raybeam/zartan/contents/{+path}","compare_url":"https://api.github.com/repos/Raybeam/zartan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Raybeam/zartan/merges","archive_url":"https://api.github.com/repos/Raybeam/zartan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Raybeam/zartan/downloads","issues_url":"https://api.github.com/repos/Raybeam/zartan/issues{/number}","pulls_url":"https://api.github.com/repos/Raybeam/zartan/pulls{/number}","milestones_url":"https://api.github.com/repos/Raybeam/zartan/milestones{/number}","notifications_url":"https://api.github.com/repos/Raybeam/zartan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Raybeam/zartan/labels{/name}","releases_url":"https://api.github.com/repos/Raybeam/zartan/releases{/id}","created_at":"2015-02-03T19:48:11Z","updated_at":"2015-03-17T16:20:51Z","pushed_at":"2015-03-20T18:33:48Z","git_url":"git://github.com/Raybeam/zartan.git","ssh_url":"git@github.com:Raybeam/zartan.git","clone_url":"https://github.com/Raybeam/zartan.git","svn_url":"https://github.com/Raybeam/zartan","homepage":null,"size":876,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Raybeam/zartan/pulls/39"},"html":{"href":"https://github.com/Raybeam/zartan/pull/39"},"issue":{"href":"https://api.github.com/repos/Raybeam/zartan/issues/39"},"comments":{"href":"https://api.github.com/repos/Raybeam/zartan/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/Raybeam/zartan/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/Raybeam/zartan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Raybeam/zartan/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/Raybeam/zartan/statuses/cbd35de67068f00881a520e58b0960b3e3fa9efb"}}}}