{"action":"created","comment":{"url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/comments/47886152","id":47886152,"diff_hunk":"@@ -2,7 +2,9 @@\n   %head\n     %meta{charset: 'utf-8'}/\n     %meta{name: 'viewport', content: \"width=device-width,initial-scale=1.0\"}/\n-\n+    %meta{:content => yield(:title).empty? ? \"#{t(:title)}\" : yield(:title), :property => \"og:title\"}/\n+    %meta{:content => yield(:description).empty? ? \"#{t(:og_description)}\" : yield(:description), :property => \"og:description\"}/","path":"app/views/layouts/darkswarm.html.haml","position":6,"original_position":6,"commit_id":"3eb17aa5e6988c153a34c9da73c90622defa285a","original_commit_id":"3eb17aa5e6988c153a34c9da73c90622defa285a","user":{"login":"wvengen","id":503804,"avatar_url":"https://avatars.githubusercontent.com/u/503804?v=3","gravatar_id":"","url":"https://api.github.com/users/wvengen","html_url":"https://github.com/wvengen","followers_url":"https://api.github.com/users/wvengen/followers","following_url":"https://api.github.com/users/wvengen/following{/other_user}","gists_url":"https://api.github.com/users/wvengen/gists{/gist_id}","starred_url":"https://api.github.com/users/wvengen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvengen/subscriptions","organizations_url":"https://api.github.com/users/wvengen/orgs","repos_url":"https://api.github.com/users/wvengen/repos","events_url":"https://api.github.com/users/wvengen/events{/privacy}","received_events_url":"https://api.github.com/users/wvengen/received_events","type":"User","site_admin":false},"body":"I would suggest to call this i18n key `og_default_description`, so that it is clear that this is something that's not always used, but only when a description is missing.","created_at":"2015-12-17T09:44:17Z","updated_at":"2015-12-17T09:44:17Z","html_url":"https://github.com/WildCodeSchool/openfoodnetwork/pull/4#discussion_r47886152","pull_request_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/comments/47886152"},"html":{"href":"https://github.com/WildCodeSchool/openfoodnetwork/pull/4#discussion_r47886152"},"pull_request":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4","id":53825301,"html_url":"https://github.com/WildCodeSchool/openfoodnetwork/pull/4","diff_url":"https://github.com/WildCodeSchool/openfoodnetwork/pull/4.diff","patch_url":"https://github.com/WildCodeSchool/openfoodnetwork/pull/4.patch","issue_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues/4","number":4,"state":"open","locked":false,"title":"Opengraph facebook","user":{"login":"ludivinecp","id":12518762,"avatar_url":"https://avatars.githubusercontent.com/u/12518762?v=3","gravatar_id":"","url":"https://api.github.com/users/ludivinecp","html_url":"https://github.com/ludivinecp","followers_url":"https://api.github.com/users/ludivinecp/followers","following_url":"https://api.github.com/users/ludivinecp/following{/other_user}","gists_url":"https://api.github.com/users/ludivinecp/gists{/gist_id}","starred_url":"https://api.github.com/users/ludivinecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludivinecp/subscriptions","organizations_url":"https://api.github.com/users/ludivinecp/orgs","repos_url":"https://api.github.com/users/ludivinecp/repos","events_url":"https://api.github.com/users/ludivinecp/events{/privacy}","received_events_url":"https://api.github.com/users/ludivinecp/received_events","type":"User","site_admin":false},"body":"Opengraph facebook: images and description for shops and groups and home => ok","created_at":"2015-12-16T10:49:37Z","updated_at":"2015-12-17T09:44:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f69e357b49bb4818b82cbce6be1ce762948019e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4/commits","review_comments_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4/comments","review_comment_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues/4/comments","statuses_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/statuses/3eb17aa5e6988c153a34c9da73c90622defa285a","head":{"label":"ludivinecp:ogp-squashed","ref":"ogp-squashed","sha":"3eb17aa5e6988c153a34c9da73c90622defa285a","user":{"login":"ludivinecp","id":12518762,"avatar_url":"https://avatars.githubusercontent.com/u/12518762?v=3","gravatar_id":"","url":"https://api.github.com/users/ludivinecp","html_url":"https://github.com/ludivinecp","followers_url":"https://api.github.com/users/ludivinecp/followers","following_url":"https://api.github.com/users/ludivinecp/following{/other_user}","gists_url":"https://api.github.com/users/ludivinecp/gists{/gist_id}","starred_url":"https://api.github.com/users/ludivinecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludivinecp/subscriptions","organizations_url":"https://api.github.com/users/ludivinecp/orgs","repos_url":"https://api.github.com/users/ludivinecp/repos","events_url":"https://api.github.com/users/ludivinecp/events{/privacy}","received_events_url":"https://api.github.com/users/ludivinecp/received_events","type":"User","site_admin":false},"repo":{"id":47877488,"name":"openfoodnetwork","full_name":"ludivinecp/openfoodnetwork","owner":{"login":"ludivinecp","id":12518762,"avatar_url":"https://avatars.githubusercontent.com/u/12518762?v=3","gravatar_id":"","url":"https://api.github.com/users/ludivinecp","html_url":"https://github.com/ludivinecp","followers_url":"https://api.github.com/users/ludivinecp/followers","following_url":"https://api.github.com/users/ludivinecp/following{/other_user}","gists_url":"https://api.github.com/users/ludivinecp/gists{/gist_id}","starred_url":"https://api.github.com/users/ludivinecp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludivinecp/subscriptions","organizations_url":"https://api.github.com/users/ludivinecp/orgs","repos_url":"https://api.github.com/users/ludivinecp/repos","events_url":"https://api.github.com/users/ludivinecp/events{/privacy}","received_events_url":"https://api.github.com/users/ludivinecp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ludivinecp/openfoodnetwork","description":"Connect suppliers, distributors and consumers for the sale and purchase of local produce","fork":true,"url":"https://api.github.com/repos/ludivinecp/openfoodnetwork","forks_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/forks","keys_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/teams","hooks_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/hooks","issue_events_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/events","assignees_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/tags","blobs_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/languages","stargazers_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/stargazers","contributors_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/contributors","subscribers_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/subscribers","subscription_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/subscription","commits_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/merges","archive_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/downloads","issues_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/labels{/name}","releases_url":"https://api.github.com/repos/ludivinecp/openfoodnetwork/releases{/id}","created_at":"2015-12-12T12:33:52Z","updated_at":"2015-12-12T12:33:55Z","pushed_at":"2015-12-16T10:48:22Z","git_url":"git://github.com/ludivinecp/openfoodnetwork.git","ssh_url":"git@github.com:ludivinecp/openfoodnetwork.git","clone_url":"https://github.com/ludivinecp/openfoodnetwork.git","svn_url":"https://github.com/ludivinecp/openfoodnetwork","homepage":"http://openfoodnetwork.org/","size":28730,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WildCodeSchool:master","ref":"master","sha":"a3874d42af4cebf6c3c2fe87bb6a33e262b747da","user":{"login":"WildCodeSchool","id":8874047,"avatar_url":"https://avatars.githubusercontent.com/u/8874047?v=3","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":47923478,"name":"openfoodnetwork","full_name":"WildCodeSchool/openfoodnetwork","owner":{"login":"WildCodeSchool","id":8874047,"avatar_url":"https://avatars.githubusercontent.com/u/8874047?v=3","gravatar_id":"","url":"https://api.github.com/users/WildCodeSchool","html_url":"https://github.com/WildCodeSchool","followers_url":"https://api.github.com/users/WildCodeSchool/followers","following_url":"https://api.github.com/users/WildCodeSchool/following{/other_user}","gists_url":"https://api.github.com/users/WildCodeSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/WildCodeSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WildCodeSchool/subscriptions","organizations_url":"https://api.github.com/users/WildCodeSchool/orgs","repos_url":"https://api.github.com/users/WildCodeSchool/repos","events_url":"https://api.github.com/users/WildCodeSchool/events{/privacy}","received_events_url":"https://api.github.com/users/WildCodeSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WildCodeSchool/openfoodnetwork","description":"Connect suppliers, distributors and consumers for the sale and purchase of local produce","fork":true,"url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork","forks_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/forks","keys_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/teams","hooks_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/hooks","issue_events_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues/events{/number}","events_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/events","assignees_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/assignees{/user}","branches_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/branches{/branch}","tags_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/tags","blobs_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/languages","stargazers_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/stargazers","contributors_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/contributors","subscribers_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/subscribers","subscription_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/subscription","commits_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/contents/{+path}","compare_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/merges","archive_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/downloads","issues_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues{/number}","pulls_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/labels{/name}","releases_url":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/releases{/id}","created_at":"2015-12-13T14:55:55Z","updated_at":"2015-12-13T14:55:58Z","pushed_at":"2015-12-16T12:41:55Z","git_url":"git://github.com/WildCodeSchool/openfoodnetwork.git","ssh_url":"git@github.com:WildCodeSchool/openfoodnetwork.git","clone_url":"https://github.com/WildCodeSchool/openfoodnetwork.git","svn_url":"https://github.com/WildCodeSchool/openfoodnetwork","homepage":"http://openfoodnetwork.org/","size":28748,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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/WildCodeSchool/openfoodnetwork/pulls/4"},"html":{"href":"https://github.com/WildCodeSchool/openfoodnetwork/pull/4"},"issue":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues/4"},"comments":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/WildCodeSchool/openfoodnetwork/statuses/3eb17aa5e6988c153a34c9da73c90622defa285a"}}}}