{"action":"created","comment":{"url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/comments/67268968","id":67268968,"diff_hunk":"@@ -6,4 +6,40 @@ def present(object, klass = nil)\n     yield presenter if block_given?\n     presenter\n   end\n+\n+  def user_button_display\n+    button_array = []\n+    if current_user\n+      button_array << link_to(\"Logout\", logout_path, method: :delete)\n+      button_array << current_admin_display\n+    else\n+      button_array << link_to(\"Login\", login_path)\n+      button_array << link_to(\"Login with Twitter\", twitter_login_path)\n+    end\n+    return button_array\n+  end\n+\n+  def current_admin_display\n+    if current_admin?\n+      link_to(\"Logged in as #{current_user.name}\", admin_dashboard_path)\n+    else\n+      link_to(\"Logged in as #{current_user.name}\", dashboard_path)\n+    end\n+  end\n+\n+  def categories\n+    Category.all\n+  end\n+\n+  def styles\n+    Style.all\n+  end\n+\n+  def checkout_option\n+    if !current_user\n+      button_to(\"Login or Create Account to Purchase Socks\", login_path(previous_page: \"cart\" ), method: :get, class: \"btn btn-custom btn-person\")","path":"app/helpers/application_helper.rb","position":35,"original_position":35,"commit_id":"c0d227c4164e202de9b58e300743cf7e999d43b8","original_commit_id":"c0d227c4164e202de9b58e300743cf7e999d43b8","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [146/80]<br>Space inside parentheses detected.","created_at":"2016-06-16T00:15:43Z","updated_at":"2016-06-16T00:15:43Z","html_url":"https://github.com/lucyfox4131/socks_and_found/pull/116#discussion_r67268968","pull_request_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/comments/67268968"},"html":{"href":"https://github.com/lucyfox4131/socks_and_found/pull/116#discussion_r67268968"},"pull_request":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116","id":74004914,"html_url":"https://github.com/lucyfox4131/socks_and_found/pull/116","diff_url":"https://github.com/lucyfox4131/socks_and_found/pull/116.diff","patch_url":"https://github.com/lucyfox4131/socks_and_found/pull/116.patch","issue_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/116","number":116,"state":"open","locked":false,"title":"Add styling","user":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-16T00:15:35Z","updated_at":"2016-06-16T00:15:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1bb4e6127d0172974991c957dbd7999d05902d21","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116/commits","review_comments_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116/comments","review_comment_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/116/comments","statuses_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/statuses/c0d227c4164e202de9b58e300743cf7e999d43b8","head":{"label":"lucyfox4131:add_styling","ref":"add_styling","sha":"c0d227c4164e202de9b58e300743cf7e999d43b8","user":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"repo":{"id":60562711,"name":"socks_and_found","full_name":"lucyfox4131/socks_and_found","owner":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucyfox4131/socks_and_found","description":"","fork":false,"url":"https://api.github.com/repos/lucyfox4131/socks_and_found","forks_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/forks","keys_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/teams","hooks_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/hooks","issue_events_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/events{/number}","events_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/events","assignees_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/assignees{/user}","branches_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/branches{/branch}","tags_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/tags","blobs_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/languages","stargazers_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/stargazers","contributors_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/contributors","subscribers_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/subscribers","subscription_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/subscription","commits_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/contents/{+path}","compare_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/merges","archive_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/downloads","issues_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues{/number}","pulls_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/labels{/name}","releases_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/releases{/id}","deployments_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/deployments","created_at":"2016-06-06T21:40:19Z","updated_at":"2016-06-14T22:59:09Z","pushed_at":"2016-06-16T00:15:36Z","git_url":"git://github.com/lucyfox4131/socks_and_found.git","ssh_url":"git@github.com:lucyfox4131/socks_and_found.git","clone_url":"https://github.com/lucyfox4131/socks_and_found.git","svn_url":"https://github.com/lucyfox4131/socks_and_found","homepage":null,"size":20423,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"base":{"label":"lucyfox4131:master","ref":"master","sha":"07ae5cd4856e73f3b2873b727697e6d7bad9741d","user":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"repo":{"id":60562711,"name":"socks_and_found","full_name":"lucyfox4131/socks_and_found","owner":{"login":"lucyfox4131","id":14189706,"avatar_url":"https://avatars.githubusercontent.com/u/14189706?v=3","gravatar_id":"","url":"https://api.github.com/users/lucyfox4131","html_url":"https://github.com/lucyfox4131","followers_url":"https://api.github.com/users/lucyfox4131/followers","following_url":"https://api.github.com/users/lucyfox4131/following{/other_user}","gists_url":"https://api.github.com/users/lucyfox4131/gists{/gist_id}","starred_url":"https://api.github.com/users/lucyfox4131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucyfox4131/subscriptions","organizations_url":"https://api.github.com/users/lucyfox4131/orgs","repos_url":"https://api.github.com/users/lucyfox4131/repos","events_url":"https://api.github.com/users/lucyfox4131/events{/privacy}","received_events_url":"https://api.github.com/users/lucyfox4131/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucyfox4131/socks_and_found","description":"","fork":false,"url":"https://api.github.com/repos/lucyfox4131/socks_and_found","forks_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/forks","keys_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/teams","hooks_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/hooks","issue_events_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/events{/number}","events_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/events","assignees_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/assignees{/user}","branches_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/branches{/branch}","tags_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/tags","blobs_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/statuses/{sha}","languages_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/languages","stargazers_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/stargazers","contributors_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/contributors","subscribers_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/subscribers","subscription_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/subscription","commits_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/contents/{+path}","compare_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/merges","archive_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/downloads","issues_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues{/number}","pulls_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls{/number}","milestones_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/milestones{/number}","notifications_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/labels{/name}","releases_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/releases{/id}","deployments_url":"https://api.github.com/repos/lucyfox4131/socks_and_found/deployments","created_at":"2016-06-06T21:40:19Z","updated_at":"2016-06-14T22:59:09Z","pushed_at":"2016-06-16T00:15:36Z","git_url":"git://github.com/lucyfox4131/socks_and_found.git","ssh_url":"git@github.com:lucyfox4131/socks_and_found.git","clone_url":"https://github.com/lucyfox4131/socks_and_found.git","svn_url":"https://github.com/lucyfox4131/socks_and_found","homepage":null,"size":20423,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116"},"html":{"href":"https://github.com/lucyfox4131/socks_and_found/pull/116"},"issue":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/116"},"comments":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/lucyfox4131/socks_and_found/statuses/c0d227c4164e202de9b58e300743cf7e999d43b8"}}}}
{"actor":{"display_login":"houndci-bot"}}