{"action":"created","comment":{"url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/comments/86041768","pull_request_review_id":6720862,"id":86041768,"diff_hunk":"@@ -0,0 +1,15 @@\n+class StylesController < ApplicationController\n+\n+  def index\n+    @styles = Style.all\n+  end\n+\n+  def show\n+    @style = Style.find_by(slug: params[:slug])\n+    if @style.nil?\n+      redirect_to 'public/404.html'","path":"app/controllers/styles_controller.rb","position":10,"original_position":10,"commit_id":"816514ca6a779ef4bd7e3d9110e1682b96e3392c","original_commit_id":"816514ca6a779ef4bd7e3d9110e1682b96e3392c","user":{"login":"bradgreen3","id":17207274,"avatar_url":"https://avatars.githubusercontent.com/u/17207274?v=3","gravatar_id":"","url":"https://api.github.com/users/bradgreen3","html_url":"https://github.com/bradgreen3","followers_url":"https://api.github.com/users/bradgreen3/followers","following_url":"https://api.github.com/users/bradgreen3/following{/other_user}","gists_url":"https://api.github.com/users/bradgreen3/gists{/gist_id}","starred_url":"https://api.github.com/users/bradgreen3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradgreen3/subscriptions","organizations_url":"https://api.github.com/users/bradgreen3/orgs","repos_url":"https://api.github.com/users/bradgreen3/repos","events_url":"https://api.github.com/users/bradgreen3/events{/privacy}","received_events_url":"https://api.github.com/users/bradgreen3/received_events","type":"User","site_admin":false},"body":"Good idea to link to a built-in error page for sad path!","created_at":"2016-11-01T22:47:19Z","updated_at":"2016-11-01T22:47:19Z","html_url":"https://github.com/mscherer11/i-shop-beer/pull/9#discussion_r86041768","pull_request_url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/comments/86041768"},"html":{"href":"https://github.com/mscherer11/i-shop-beer/pull/9#discussion_r86041768"},"pull_request":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9","id":91877955,"html_url":"https://github.com/mscherer11/i-shop-beer/pull/9","diff_url":"https://github.com/mscherer11/i-shop-beer/pull/9.diff","patch_url":"https://github.com/mscherer11/i-shop-beer/pull/9.patch","issue_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/9","number":9,"state":"open","locked":false,"title":"5 ms cart","user":{"login":"mscherer11","id":10468242,"avatar_url":"https://avatars.githubusercontent.com/u/10468242?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer11","html_url":"https://github.com/mscherer11","followers_url":"https://api.github.com/users/mscherer11/followers","following_url":"https://api.github.com/users/mscherer11/following{/other_user}","gists_url":"https://api.github.com/users/mscherer11/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer11/subscriptions","organizations_url":"https://api.github.com/users/mscherer11/orgs","repos_url":"https://api.github.com/users/mscherer11/repos","events_url":"https://api.github.com/users/mscherer11/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer11/received_events","type":"User","site_admin":false},"body":"Merged Cart functionality with Categories and styling","created_at":"2016-11-01T22:40:05Z","updated_at":"2016-11-01T22:47:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a204a859e95aeae2b441582ead7bca49e273bb12","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/9/comments","statuses_url":"https://api.github.com/repos/mscherer11/i-shop-beer/statuses/816514ca6a779ef4bd7e3d9110e1682b96e3392c","head":{"label":"mscherer11:5-ms-cart","ref":"5-ms-cart","sha":"816514ca6a779ef4bd7e3d9110e1682b96e3392c","user":{"login":"mscherer11","id":10468242,"avatar_url":"https://avatars.githubusercontent.com/u/10468242?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer11","html_url":"https://github.com/mscherer11","followers_url":"https://api.github.com/users/mscherer11/followers","following_url":"https://api.github.com/users/mscherer11/following{/other_user}","gists_url":"https://api.github.com/users/mscherer11/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer11/subscriptions","organizations_url":"https://api.github.com/users/mscherer11/orgs","repos_url":"https://api.github.com/users/mscherer11/repos","events_url":"https://api.github.com/users/mscherer11/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer11/received_events","type":"User","site_admin":false},"repo":{"id":72483068,"name":"i-shop-beer","full_name":"mscherer11/i-shop-beer","owner":{"login":"mscherer11","id":10468242,"avatar_url":"https://avatars.githubusercontent.com/u/10468242?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer11","html_url":"https://github.com/mscherer11","followers_url":"https://api.github.com/users/mscherer11/followers","following_url":"https://api.github.com/users/mscherer11/following{/other_user}","gists_url":"https://api.github.com/users/mscherer11/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer11/subscriptions","organizations_url":"https://api.github.com/users/mscherer11/orgs","repos_url":"https://api.github.com/users/mscherer11/repos","events_url":"https://api.github.com/users/mscherer11/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mscherer11/i-shop-beer","description":null,"fork":false,"url":"https://api.github.com/repos/mscherer11/i-shop-beer","forks_url":"https://api.github.com/repos/mscherer11/i-shop-beer/forks","keys_url":"https://api.github.com/repos/mscherer11/i-shop-beer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mscherer11/i-shop-beer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mscherer11/i-shop-beer/teams","hooks_url":"https://api.github.com/repos/mscherer11/i-shop-beer/hooks","issue_events_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/events{/number}","events_url":"https://api.github.com/repos/mscherer11/i-shop-beer/events","assignees_url":"https://api.github.com/repos/mscherer11/i-shop-beer/assignees{/user}","branches_url":"https://api.github.com/repos/mscherer11/i-shop-beer/branches{/branch}","tags_url":"https://api.github.com/repos/mscherer11/i-shop-beer/tags","blobs_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mscherer11/i-shop-beer/statuses/{sha}","languages_url":"https://api.github.com/repos/mscherer11/i-shop-beer/languages","stargazers_url":"https://api.github.com/repos/mscherer11/i-shop-beer/stargazers","contributors_url":"https://api.github.com/repos/mscherer11/i-shop-beer/contributors","subscribers_url":"https://api.github.com/repos/mscherer11/i-shop-beer/subscribers","subscription_url":"https://api.github.com/repos/mscherer11/i-shop-beer/subscription","commits_url":"https://api.github.com/repos/mscherer11/i-shop-beer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mscherer11/i-shop-beer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mscherer11/i-shop-beer/contents/{+path}","compare_url":"https://api.github.com/repos/mscherer11/i-shop-beer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mscherer11/i-shop-beer/merges","archive_url":"https://api.github.com/repos/mscherer11/i-shop-beer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mscherer11/i-shop-beer/downloads","issues_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues{/number}","pulls_url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls{/number}","milestones_url":"https://api.github.com/repos/mscherer11/i-shop-beer/milestones{/number}","notifications_url":"https://api.github.com/repos/mscherer11/i-shop-beer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mscherer11/i-shop-beer/labels{/name}","releases_url":"https://api.github.com/repos/mscherer11/i-shop-beer/releases{/id}","deployments_url":"https://api.github.com/repos/mscherer11/i-shop-beer/deployments","created_at":"2016-10-31T22:24:42Z","updated_at":"2016-10-31T22:26:03Z","pushed_at":"2016-11-01T22:40:05Z","git_url":"git://github.com/mscherer11/i-shop-beer.git","ssh_url":"git@github.com:mscherer11/i-shop-beer.git","clone_url":"https://github.com/mscherer11/i-shop-beer.git","svn_url":"https://github.com/mscherer11/i-shop-beer","homepage":null,"size":120,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"mscherer11:master","ref":"master","sha":"3e6c353b7e9a72fbe57987398465595225104b32","user":{"login":"mscherer11","id":10468242,"avatar_url":"https://avatars.githubusercontent.com/u/10468242?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer11","html_url":"https://github.com/mscherer11","followers_url":"https://api.github.com/users/mscherer11/followers","following_url":"https://api.github.com/users/mscherer11/following{/other_user}","gists_url":"https://api.github.com/users/mscherer11/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer11/subscriptions","organizations_url":"https://api.github.com/users/mscherer11/orgs","repos_url":"https://api.github.com/users/mscherer11/repos","events_url":"https://api.github.com/users/mscherer11/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer11/received_events","type":"User","site_admin":false},"repo":{"id":72483068,"name":"i-shop-beer","full_name":"mscherer11/i-shop-beer","owner":{"login":"mscherer11","id":10468242,"avatar_url":"https://avatars.githubusercontent.com/u/10468242?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer11","html_url":"https://github.com/mscherer11","followers_url":"https://api.github.com/users/mscherer11/followers","following_url":"https://api.github.com/users/mscherer11/following{/other_user}","gists_url":"https://api.github.com/users/mscherer11/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer11/subscriptions","organizations_url":"https://api.github.com/users/mscherer11/orgs","repos_url":"https://api.github.com/users/mscherer11/repos","events_url":"https://api.github.com/users/mscherer11/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mscherer11/i-shop-beer","description":null,"fork":false,"url":"https://api.github.com/repos/mscherer11/i-shop-beer","forks_url":"https://api.github.com/repos/mscherer11/i-shop-beer/forks","keys_url":"https://api.github.com/repos/mscherer11/i-shop-beer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mscherer11/i-shop-beer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mscherer11/i-shop-beer/teams","hooks_url":"https://api.github.com/repos/mscherer11/i-shop-beer/hooks","issue_events_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/events{/number}","events_url":"https://api.github.com/repos/mscherer11/i-shop-beer/events","assignees_url":"https://api.github.com/repos/mscherer11/i-shop-beer/assignees{/user}","branches_url":"https://api.github.com/repos/mscherer11/i-shop-beer/branches{/branch}","tags_url":"https://api.github.com/repos/mscherer11/i-shop-beer/tags","blobs_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mscherer11/i-shop-beer/statuses/{sha}","languages_url":"https://api.github.com/repos/mscherer11/i-shop-beer/languages","stargazers_url":"https://api.github.com/repos/mscherer11/i-shop-beer/stargazers","contributors_url":"https://api.github.com/repos/mscherer11/i-shop-beer/contributors","subscribers_url":"https://api.github.com/repos/mscherer11/i-shop-beer/subscribers","subscription_url":"https://api.github.com/repos/mscherer11/i-shop-beer/subscription","commits_url":"https://api.github.com/repos/mscherer11/i-shop-beer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mscherer11/i-shop-beer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mscherer11/i-shop-beer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mscherer11/i-shop-beer/contents/{+path}","compare_url":"https://api.github.com/repos/mscherer11/i-shop-beer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mscherer11/i-shop-beer/merges","archive_url":"https://api.github.com/repos/mscherer11/i-shop-beer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mscherer11/i-shop-beer/downloads","issues_url":"https://api.github.com/repos/mscherer11/i-shop-beer/issues{/number}","pulls_url":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls{/number}","milestones_url":"https://api.github.com/repos/mscherer11/i-shop-beer/milestones{/number}","notifications_url":"https://api.github.com/repos/mscherer11/i-shop-beer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mscherer11/i-shop-beer/labels{/name}","releases_url":"https://api.github.com/repos/mscherer11/i-shop-beer/releases{/id}","deployments_url":"https://api.github.com/repos/mscherer11/i-shop-beer/deployments","created_at":"2016-10-31T22:24:42Z","updated_at":"2016-10-31T22:26:03Z","pushed_at":"2016-11-01T22:40:05Z","git_url":"git://github.com/mscherer11/i-shop-beer.git","ssh_url":"git@github.com:mscherer11/i-shop-beer.git","clone_url":"https://github.com/mscherer11/i-shop-beer.git","svn_url":"https://github.com/mscherer11/i-shop-beer","homepage":null,"size":120,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9"},"html":{"href":"https://github.com/mscherer11/i-shop-beer/pull/9"},"issue":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/9"},"comments":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mscherer11/i-shop-beer/statuses/816514ca6a779ef4bd7e3d9110e1682b96e3392c"}}}}
{"actor":{"display_login":"bradgreen3"}}