{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments/92894603","pull_request_review_id":13420082,"id":92894603,"diff_hunk":"@@ -1,2 +1,6 @@\n-%li.menu-item\n-  = link_to 'Min ansökan', edit_membership_application_path(membership_app)\n+- if current_user.is_member?","path":"app/views/application/_navigation_edit_my_application.html.haml","position":3,"original_position":3,"commit_id":"cba7272149d6b711bf26a31b8d33d3a87e999372","original_commit_id":"cba7272149d6b711bf26a31b8d33d3a87e999372","user":{"login":"weedySeaDragon","id":673794,"avatar_url":"https://avatars.githubusercontent.com/u/673794?v=3","gravatar_id":"","url":"https://api.github.com/users/weedySeaDragon","html_url":"https://github.com/weedySeaDragon","followers_url":"https://api.github.com/users/weedySeaDragon/followers","following_url":"https://api.github.com/users/weedySeaDragon/following{/other_user}","gists_url":"https://api.github.com/users/weedySeaDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/weedySeaDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weedySeaDragon/subscriptions","organizations_url":"https://api.github.com/users/weedySeaDragon/orgs","repos_url":"https://api.github.com/users/weedySeaDragon/repos","events_url":"https://api.github.com/users/weedySeaDragon/events{/privacy}","received_events_url":"https://api.github.com/users/weedySeaDragon/received_events","type":"User","site_admin":false},"body":"Keep this DRY:  don't repeat the `%li.menu-item` or `link_to`:\r\n\r\n````\r\n%li.menu-item\r\n  = link_to 'Min ansökan', current_user.is_member? ?  membership_application_path(membership_app) : edit_membership_application_path(membership_app)\r\n````","created_at":"2016-12-16T22:07:51Z","updated_at":"2016-12-16T22:08:26Z","html_url":"https://github.com/AgileVentures/shf-project/pull/87#discussion_r92894603","pull_request_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments/92894603"},"html":{"href":"https://github.com/AgileVentures/shf-project/pull/87#discussion_r92894603"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87","id":98405416,"html_url":"https://github.com/AgileVentures/shf-project/pull/87","diff_url":"https://github.com/AgileVentures/shf-project/pull/87.diff","patch_url":"https://github.com/AgileVentures/shf-project/pull/87.patch","issue_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/87","number":87,"state":"open","locked":false,"title":"Conditionally show edit or show-view for 'My application'-link","user":{"login":"thesuss","id":7266909,"avatar_url":"https://avatars.githubusercontent.com/u/7266909?v=3","gravatar_id":"","url":"https://api.github.com/users/thesuss","html_url":"https://github.com/thesuss","followers_url":"https://api.github.com/users/thesuss/followers","following_url":"https://api.github.com/users/thesuss/following{/other_user}","gists_url":"https://api.github.com/users/thesuss/gists{/gist_id}","starred_url":"https://api.github.com/users/thesuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesuss/subscriptions","organizations_url":"https://api.github.com/users/thesuss/orgs","repos_url":"https://api.github.com/users/thesuss/repos","events_url":"https://api.github.com/users/thesuss/events{/privacy}","received_events_url":"https://api.github.com/users/thesuss/received_events","type":"User","site_admin":false},"body":"PT Story: https://www.pivotaltracker.com/story/show/136105855\r\n\r\nChanges proposed in this pull request:\r\n1. Fixed \"wordo\" in membership-application-show page\r\n2. Conditionally displays edit/show depending on membership status \r\n    (if they type the link in, so be it for now, this is a quick fix and a known such)\r\n\r\nReady for review:\r\n@AgileVentures/shf-project-team \r\n\r\n","created_at":"2016-12-16T21:25:19Z","updated_at":"2016-12-16T22:08:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"395efc0e12b59760e2202a52b135e9411938eb32","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/87/comments","statuses_url":"https://api.github.com/repos/AgileVentures/shf-project/statuses/cba7272149d6b711bf26a31b8d33d3a87e999372","head":{"label":"thesuss:fix-application-link","ref":"fix-application-link","sha":"cba7272149d6b711bf26a31b8d33d3a87e999372","user":{"login":"thesuss","id":7266909,"avatar_url":"https://avatars.githubusercontent.com/u/7266909?v=3","gravatar_id":"","url":"https://api.github.com/users/thesuss","html_url":"https://github.com/thesuss","followers_url":"https://api.github.com/users/thesuss/followers","following_url":"https://api.github.com/users/thesuss/following{/other_user}","gists_url":"https://api.github.com/users/thesuss/gists{/gist_id}","starred_url":"https://api.github.com/users/thesuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesuss/subscriptions","organizations_url":"https://api.github.com/users/thesuss/orgs","repos_url":"https://api.github.com/users/thesuss/repos","events_url":"https://api.github.com/users/thesuss/events{/privacy}","received_events_url":"https://api.github.com/users/thesuss/received_events","type":"User","site_admin":false},"repo":{"id":65629235,"name":"shf-project","full_name":"thesuss/shf-project","owner":{"login":"thesuss","id":7266909,"avatar_url":"https://avatars.githubusercontent.com/u/7266909?v=3","gravatar_id":"","url":"https://api.github.com/users/thesuss","html_url":"https://github.com/thesuss","followers_url":"https://api.github.com/users/thesuss/followers","following_url":"https://api.github.com/users/thesuss/following{/other_user}","gists_url":"https://api.github.com/users/thesuss/gists{/gist_id}","starred_url":"https://api.github.com/users/thesuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesuss/subscriptions","organizations_url":"https://api.github.com/users/thesuss/orgs","repos_url":"https://api.github.com/users/thesuss/repos","events_url":"https://api.github.com/users/thesuss/events{/privacy}","received_events_url":"https://api.github.com/users/thesuss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thesuss/shf-project","description":"This is the repo for what will be membership handling of Sveriges Hundföretagare","fork":false,"url":"https://api.github.com/repos/thesuss/shf-project","forks_url":"https://api.github.com/repos/thesuss/shf-project/forks","keys_url":"https://api.github.com/repos/thesuss/shf-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thesuss/shf-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thesuss/shf-project/teams","hooks_url":"https://api.github.com/repos/thesuss/shf-project/hooks","issue_events_url":"https://api.github.com/repos/thesuss/shf-project/issues/events{/number}","events_url":"https://api.github.com/repos/thesuss/shf-project/events","assignees_url":"https://api.github.com/repos/thesuss/shf-project/assignees{/user}","branches_url":"https://api.github.com/repos/thesuss/shf-project/branches{/branch}","tags_url":"https://api.github.com/repos/thesuss/shf-project/tags","blobs_url":"https://api.github.com/repos/thesuss/shf-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thesuss/shf-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thesuss/shf-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/thesuss/shf-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thesuss/shf-project/statuses/{sha}","languages_url":"https://api.github.com/repos/thesuss/shf-project/languages","stargazers_url":"https://api.github.com/repos/thesuss/shf-project/stargazers","contributors_url":"https://api.github.com/repos/thesuss/shf-project/contributors","subscribers_url":"https://api.github.com/repos/thesuss/shf-project/subscribers","subscription_url":"https://api.github.com/repos/thesuss/shf-project/subscription","commits_url":"https://api.github.com/repos/thesuss/shf-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/thesuss/shf-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/thesuss/shf-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/thesuss/shf-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/thesuss/shf-project/contents/{+path}","compare_url":"https://api.github.com/repos/thesuss/shf-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thesuss/shf-project/merges","archive_url":"https://api.github.com/repos/thesuss/shf-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thesuss/shf-project/downloads","issues_url":"https://api.github.com/repos/thesuss/shf-project/issues{/number}","pulls_url":"https://api.github.com/repos/thesuss/shf-project/pulls{/number}","milestones_url":"https://api.github.com/repos/thesuss/shf-project/milestones{/number}","notifications_url":"https://api.github.com/repos/thesuss/shf-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thesuss/shf-project/labels{/name}","releases_url":"https://api.github.com/repos/thesuss/shf-project/releases{/id}","deployments_url":"https://api.github.com/repos/thesuss/shf-project/deployments","created_at":"2016-08-13T17:38:08Z","updated_at":"2016-10-22T10:45:07Z","pushed_at":"2016-12-16T21:21:26Z","git_url":"git://github.com/thesuss/shf-project.git","ssh_url":"git@github.com:thesuss/shf-project.git","clone_url":"https://github.com/thesuss/shf-project.git","svn_url":"https://github.com/thesuss/shf-project","homepage":"http://www.sverigeshundforetagare.se","size":1661,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"e48c5a73aea148c41f52e46cecf9e11e540ba252","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":71157737,"name":"shf-project","full_name":"AgileVentures/shf-project","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/shf-project","description":null,"fork":true,"url":"https://api.github.com/repos/AgileVentures/shf-project","forks_url":"https://api.github.com/repos/AgileVentures/shf-project/forks","keys_url":"https://api.github.com/repos/AgileVentures/shf-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/shf-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/shf-project/teams","hooks_url":"https://api.github.com/repos/AgileVentures/shf-project/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/shf-project/events","assignees_url":"https://api.github.com/repos/AgileVentures/shf-project/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/shf-project/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/shf-project/tags","blobs_url":"https://api.github.com/repos/AgileVentures/shf-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/shf-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/shf-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/shf-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/shf-project/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/shf-project/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/shf-project/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/shf-project/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/shf-project/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/shf-project/subscription","commits_url":"https://api.github.com/repos/AgileVentures/shf-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/shf-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/shf-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/shf-project/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/shf-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/shf-project/merges","archive_url":"https://api.github.com/repos/AgileVentures/shf-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/shf-project/downloads","issues_url":"https://api.github.com/repos/AgileVentures/shf-project/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/shf-project/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/shf-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/shf-project/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/shf-project/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/shf-project/deployments","created_at":"2016-10-17T16:18:10Z","updated_at":"2016-12-02T13:34:05Z","pushed_at":"2016-12-16T21:59:25Z","git_url":"git://github.com/AgileVentures/shf-project.git","ssh_url":"git@github.com:AgileVentures/shf-project.git","clone_url":"https://github.com/AgileVentures/shf-project.git","svn_url":"https://github.com/AgileVentures/shf-project","homepage":null,"size":1364,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87"},"html":{"href":"https://github.com/AgileVentures/shf-project/pull/87"},"issue":{"href":"https://api.github.com/repos/AgileVentures/shf-project/issues/87"},"comments":{"href":"https://api.github.com/repos/AgileVentures/shf-project/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/shf-project/statuses/cba7272149d6b711bf26a31b8d33d3a87e999372"}}}}
{"actor":{"display_login":"weedySeaDragon"}}