{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/42365008","id":42365008,"diff_hunk":"@@ -0,0 +1,13 @@\n+.container{:style => \"font-family: Open Sans; text-align: center;\"}\n+  - if @posts.any?\n+    - @posts.each do |post|\n+      .posts\n+        = link_to (image_tag post.image.url(:medium)), post_path(post), id: post.id\n+        %p= post.caption\n+        - if current_user\n+          - if (post.user_id == current_user.id)\n+            %p= link_to \"Delete Post\", post_path(post), method: :delete\n+    %p= link_to \"Add a Post\", new_post_path\n+  - else\n+    No Pictures Yet!\n+    %a(href='/posts/new') Add a Post","path":"app/views/posts/index.html.haml","position":13,"original_position":13,"commit_id":"87bb3fdd7a73c333efc36972d015be6947d3f80a","original_commit_id":"87bb3fdd7a73c333efc36972d015be6947d3f80a","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer the hash attributes syntax (%tag{ lang: 'en' }) over HTML attributes syntax (%tag(lang=en))","created_at":"2015-10-19T12:34:16Z","updated_at":"2015-10-19T12:34:16Z","html_url":"https://github.com/makersacademy/instagram-challenge/pull/129#discussion_r42365008","pull_request_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/42365008"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/129#discussion_r42365008"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129","id":48065388,"html_url":"https://github.com/makersacademy/instagram-challenge/pull/129","diff_url":"https://github.com/makersacademy/instagram-challenge/pull/129.diff","patch_url":"https://github.com/makersacademy/instagram-challenge/pull/129.patch","issue_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/129","number":129,"state":"open","locked":false,"title":"Dan St Paul Instagram-Challenge","user":{"login":"danielstpaul","id":11391132,"avatar_url":"https://avatars.githubusercontent.com/u/11391132?v=3","gravatar_id":"","url":"https://api.github.com/users/danielstpaul","html_url":"https://github.com/danielstpaul","followers_url":"https://api.github.com/users/danielstpaul/followers","following_url":"https://api.github.com/users/danielstpaul/following{/other_user}","gists_url":"https://api.github.com/users/danielstpaul/gists{/gist_id}","starred_url":"https://api.github.com/users/danielstpaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielstpaul/subscriptions","organizations_url":"https://api.github.com/users/danielstpaul/orgs","repos_url":"https://api.github.com/users/danielstpaul/repos","events_url":"https://api.github.com/users/danielstpaul/events{/privacy}","received_events_url":"https://api.github.com/users/danielstpaul/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-19T12:34:03Z","updated_at":"2015-10-19T12:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0850278ea59cf3765e549c793059ecec596a3bb1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129/commits","review_comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129/comments","review_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/129/comments","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/87bb3fdd7a73c333efc36972d015be6947d3f80a","head":{"label":"danielstpaul:master","ref":"master","sha":"87bb3fdd7a73c333efc36972d015be6947d3f80a","user":{"login":"danielstpaul","id":11391132,"avatar_url":"https://avatars.githubusercontent.com/u/11391132?v=3","gravatar_id":"","url":"https://api.github.com/users/danielstpaul","html_url":"https://github.com/danielstpaul","followers_url":"https://api.github.com/users/danielstpaul/followers","following_url":"https://api.github.com/users/danielstpaul/following{/other_user}","gists_url":"https://api.github.com/users/danielstpaul/gists{/gist_id}","starred_url":"https://api.github.com/users/danielstpaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielstpaul/subscriptions","organizations_url":"https://api.github.com/users/danielstpaul/orgs","repos_url":"https://api.github.com/users/danielstpaul/repos","events_url":"https://api.github.com/users/danielstpaul/events{/privacy}","received_events_url":"https://api.github.com/users/danielstpaul/received_events","type":"User","site_admin":false},"repo":{"id":44436156,"name":"instagram-challenge","full_name":"danielstpaul/instagram-challenge","owner":{"login":"danielstpaul","id":11391132,"avatar_url":"https://avatars.githubusercontent.com/u/11391132?v=3","gravatar_id":"","url":"https://api.github.com/users/danielstpaul","html_url":"https://github.com/danielstpaul","followers_url":"https://api.github.com/users/danielstpaul/followers","following_url":"https://api.github.com/users/danielstpaul/following{/other_user}","gists_url":"https://api.github.com/users/danielstpaul/gists{/gist_id}","starred_url":"https://api.github.com/users/danielstpaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielstpaul/subscriptions","organizations_url":"https://api.github.com/users/danielstpaul/orgs","repos_url":"https://api.github.com/users/danielstpaul/repos","events_url":"https://api.github.com/users/danielstpaul/events{/privacy}","received_events_url":"https://api.github.com/users/danielstpaul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielstpaul/instagram-challenge","description":"Rebuild Instagram","fork":true,"url":"https://api.github.com/repos/danielstpaul/instagram-challenge","forks_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/forks","keys_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/events","assignees_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/merges","archive_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/danielstpaul/instagram-challenge/releases{/id}","created_at":"2015-10-17T12:26:29Z","updated_at":"2015-10-18T11:39:52Z","pushed_at":"2015-10-19T12:32:58Z","git_url":"git://github.com/danielstpaul/instagram-challenge.git","ssh_url":"git@github.com:danielstpaul/instagram-challenge.git","clone_url":"https://github.com/danielstpaul/instagram-challenge.git","svn_url":"https://github.com/danielstpaul/instagram-challenge","homepage":null,"size":9099,"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":"makersacademy:master","ref":"master","sha":"69e715eef65c2e76875349daf4b7e1c9e0cfa04f","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006364,"name":"instagram-challenge","full_name":"makersacademy/instagram-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/instagram-challenge","description":"Rebuild Instagram","fork":false,"url":"https://api.github.com/repos/makersacademy/instagram-challenge","forks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/instagram-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/instagram-challenge/releases{/id}","created_at":"2014-11-22T17:26:37Z","updated_at":"2015-04-02T15:05:17Z","pushed_at":"2015-10-19T12:34:03Z","git_url":"git://github.com/makersacademy/instagram-challenge.git","ssh_url":"git@github.com:makersacademy/instagram-challenge.git","clone_url":"https://github.com/makersacademy/instagram-challenge.git","svn_url":"https://github.com/makersacademy/instagram-challenge","homepage":null,"size":218286,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":148,"mirror_url":null,"open_issues_count":32,"forks":148,"open_issues":32,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/129"},"issue":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/129"},"comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/87bb3fdd7a73c333efc36972d015be6947d3f80a"}}}}