{"action":"created","comment":{"url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/comments/76261561","id":76261561,"diff_hunk":"@@ -1,5 +1,9 @@\n \n-<div class=\"card\" style=\"background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url('<%= image_path menu.photo %>')\">\n+<% if menu.photos? %>\n+  <div class=\"card\" style=\"background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url('<%= cl_image_path menu.photos[0].path %>')\">\n+<% else %>\n+  <div class=\"card\" style=\"background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url('http://placehold.it/350x150')\">\n+<% end %>","path":"app/views/menus/_card.html.erb","position":7,"original_position":7,"commit_id":"d3e05a010badfd0196d66618bbc7b8dc6297b8b1","original_commit_id":"d3e05a010badfd0196d66618bbc7b8dc6297b8b1","user":{"login":"lbreen","id":20244300,"avatar_url":"https://avatars.githubusercontent.com/u/20244300?v=3","gravatar_id":"","url":"https://api.github.com/users/lbreen","html_url":"https://github.com/lbreen","followers_url":"https://api.github.com/users/lbreen/followers","following_url":"https://api.github.com/users/lbreen/following{/other_user}","gists_url":"https://api.github.com/users/lbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/lbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbreen/subscriptions","organizations_url":"https://api.github.com/users/lbreen/orgs","repos_url":"https://api.github.com/users/lbreen/repos","events_url":"https://api.github.com/users/lbreen/events{/privacy}","received_events_url":"https://api.github.com/users/lbreen/received_events","type":"User","site_admin":false},"body":"<div class=\"card\" style=\"background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url(<%= image %>)\">","created_at":"2016-08-25T15:07:02Z","updated_at":"2016-08-25T15:07:02Z","html_url":"https://github.com/lbreen/rails-chef-at-home/pull/47#discussion_r76261561","pull_request_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/comments/76261561"},"html":{"href":"https://github.com/lbreen/rails-chef-at-home/pull/47#discussion_r76261561"},"pull_request":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47","id":82735290,"html_url":"https://github.com/lbreen/rails-chef-at-home/pull/47","diff_url":"https://github.com/lbreen/rails-chef-at-home/pull/47.diff","patch_url":"https://github.com/lbreen/rails-chef-at-home/pull/47.patch","issue_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/47","number":47,"state":"open","locked":false,"title":"Shared footer","user":{"login":"MaxPhilipss","id":20214134,"avatar_url":"https://avatars.githubusercontent.com/u/20214134?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxPhilipss","html_url":"https://github.com/MaxPhilipss","followers_url":"https://api.github.com/users/MaxPhilipss/followers","following_url":"https://api.github.com/users/MaxPhilipss/following{/other_user}","gists_url":"https://api.github.com/users/MaxPhilipss/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxPhilipss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxPhilipss/subscriptions","organizations_url":"https://api.github.com/users/MaxPhilipss/orgs","repos_url":"https://api.github.com/users/MaxPhilipss/repos","events_url":"https://api.github.com/users/MaxPhilipss/events{/privacy}","received_events_url":"https://api.github.com/users/MaxPhilipss/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-25T14:56:07Z","updated_at":"2016-08-25T15:07:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb65f1f7fc34694271bb04b6fee88880bc79a8d8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47/commits","review_comments_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47/comments","review_comment_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/47/comments","statuses_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/statuses/d3e05a010badfd0196d66618bbc7b8dc6297b8b1","head":{"label":"lbreen:shared-footer","ref":"shared-footer","sha":"d3e05a010badfd0196d66618bbc7b8dc6297b8b1","user":{"login":"lbreen","id":20244300,"avatar_url":"https://avatars.githubusercontent.com/u/20244300?v=3","gravatar_id":"","url":"https://api.github.com/users/lbreen","html_url":"https://github.com/lbreen","followers_url":"https://api.github.com/users/lbreen/followers","following_url":"https://api.github.com/users/lbreen/following{/other_user}","gists_url":"https://api.github.com/users/lbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/lbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbreen/subscriptions","organizations_url":"https://api.github.com/users/lbreen/orgs","repos_url":"https://api.github.com/users/lbreen/repos","events_url":"https://api.github.com/users/lbreen/events{/privacy}","received_events_url":"https://api.github.com/users/lbreen/received_events","type":"User","site_admin":false},"repo":{"id":66283450,"name":"rails-chef-at-home","full_name":"lbreen/rails-chef-at-home","owner":{"login":"lbreen","id":20244300,"avatar_url":"https://avatars.githubusercontent.com/u/20244300?v=3","gravatar_id":"","url":"https://api.github.com/users/lbreen","html_url":"https://github.com/lbreen","followers_url":"https://api.github.com/users/lbreen/followers","following_url":"https://api.github.com/users/lbreen/following{/other_user}","gists_url":"https://api.github.com/users/lbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/lbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbreen/subscriptions","organizations_url":"https://api.github.com/users/lbreen/orgs","repos_url":"https://api.github.com/users/lbreen/repos","events_url":"https://api.github.com/users/lbreen/events{/privacy}","received_events_url":"https://api.github.com/users/lbreen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lbreen/rails-chef-at-home","description":null,"fork":false,"url":"https://api.github.com/repos/lbreen/rails-chef-at-home","forks_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/forks","keys_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/teams","hooks_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/hooks","issue_events_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/events{/number}","events_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/events","assignees_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/assignees{/user}","branches_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/branches{/branch}","tags_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/tags","blobs_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/refs{/sha}","trees_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/statuses/{sha}","languages_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/languages","stargazers_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/stargazers","contributors_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/contributors","subscribers_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/subscribers","subscription_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/subscription","commits_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/commits{/sha}","git_commits_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/commits{/sha}","comments_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/comments{/number}","issue_comment_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/comments{/number}","contents_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/contents/{+path}","compare_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/merges","archive_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/downloads","issues_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues{/number}","pulls_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls{/number}","milestones_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/milestones{/number}","notifications_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/labels{/name}","releases_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/releases{/id}","deployments_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/deployments","created_at":"2016-08-22T15:15:06Z","updated_at":"2016-08-22T15:15:32Z","pushed_at":"2016-08-25T15:05:34Z","git_url":"git://github.com/lbreen/rails-chef-at-home.git","ssh_url":"git@github.com:lbreen/rails-chef-at-home.git","clone_url":"https://github.com/lbreen/rails-chef-at-home.git","svn_url":"https://github.com/lbreen/rails-chef-at-home","homepage":null,"size":73361,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"lbreen:master","ref":"master","sha":"9066d648470b3fd6bc8bdb287448751e4aee6404","user":{"login":"lbreen","id":20244300,"avatar_url":"https://avatars.githubusercontent.com/u/20244300?v=3","gravatar_id":"","url":"https://api.github.com/users/lbreen","html_url":"https://github.com/lbreen","followers_url":"https://api.github.com/users/lbreen/followers","following_url":"https://api.github.com/users/lbreen/following{/other_user}","gists_url":"https://api.github.com/users/lbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/lbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbreen/subscriptions","organizations_url":"https://api.github.com/users/lbreen/orgs","repos_url":"https://api.github.com/users/lbreen/repos","events_url":"https://api.github.com/users/lbreen/events{/privacy}","received_events_url":"https://api.github.com/users/lbreen/received_events","type":"User","site_admin":false},"repo":{"id":66283450,"name":"rails-chef-at-home","full_name":"lbreen/rails-chef-at-home","owner":{"login":"lbreen","id":20244300,"avatar_url":"https://avatars.githubusercontent.com/u/20244300?v=3","gravatar_id":"","url":"https://api.github.com/users/lbreen","html_url":"https://github.com/lbreen","followers_url":"https://api.github.com/users/lbreen/followers","following_url":"https://api.github.com/users/lbreen/following{/other_user}","gists_url":"https://api.github.com/users/lbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/lbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbreen/subscriptions","organizations_url":"https://api.github.com/users/lbreen/orgs","repos_url":"https://api.github.com/users/lbreen/repos","events_url":"https://api.github.com/users/lbreen/events{/privacy}","received_events_url":"https://api.github.com/users/lbreen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lbreen/rails-chef-at-home","description":null,"fork":false,"url":"https://api.github.com/repos/lbreen/rails-chef-at-home","forks_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/forks","keys_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/teams","hooks_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/hooks","issue_events_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/events{/number}","events_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/events","assignees_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/assignees{/user}","branches_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/branches{/branch}","tags_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/tags","blobs_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/refs{/sha}","trees_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/statuses/{sha}","languages_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/languages","stargazers_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/stargazers","contributors_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/contributors","subscribers_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/subscribers","subscription_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/subscription","commits_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/commits{/sha}","git_commits_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/git/commits{/sha}","comments_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/comments{/number}","issue_comment_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/comments{/number}","contents_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/contents/{+path}","compare_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/merges","archive_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/downloads","issues_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues{/number}","pulls_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls{/number}","milestones_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/milestones{/number}","notifications_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/labels{/name}","releases_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/releases{/id}","deployments_url":"https://api.github.com/repos/lbreen/rails-chef-at-home/deployments","created_at":"2016-08-22T15:15:06Z","updated_at":"2016-08-22T15:15:32Z","pushed_at":"2016-08-25T15:05:34Z","git_url":"git://github.com/lbreen/rails-chef-at-home.git","ssh_url":"git@github.com:lbreen/rails-chef-at-home.git","clone_url":"https://github.com/lbreen/rails-chef-at-home.git","svn_url":"https://github.com/lbreen/rails-chef-at-home","homepage":null,"size":73361,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47"},"html":{"href":"https://github.com/lbreen/rails-chef-at-home/pull/47"},"issue":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/47"},"comments":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/lbreen/rails-chef-at-home/statuses/d3e05a010badfd0196d66618bbc7b8dc6297b8b1"}}}}
{"actor":{"display_login":"lbreen"}}