{"action":"created","comment":{"url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/comments/47418456","id":47418456,"diff_hunk":"@@ -0,0 +1,6 @@\n+# find chosen survey and redirect to its questions\n+get 'survey/:id' do\n+  survey = TakenSurvey.new(survey_id: params[:id], user_id: current_user.id)","path":"app/controllers/surveys_controller.rb","position":3,"original_position":3,"commit_id":"529458d435b55e68463864f2b68f049980b51193","original_commit_id":"529458d435b55e68463864f2b68f049980b51193","user":{"login":"aquarian5","id":10834366,"avatar_url":"https://avatars.githubusercontent.com/u/10834366?v=3","gravatar_id":"","url":"https://api.github.com/users/aquarian5","html_url":"https://github.com/aquarian5","followers_url":"https://api.github.com/users/aquarian5/followers","following_url":"https://api.github.com/users/aquarian5/following{/other_user}","gists_url":"https://api.github.com/users/aquarian5/gists{/gist_id}","starred_url":"https://api.github.com/users/aquarian5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquarian5/subscriptions","organizations_url":"https://api.github.com/users/aquarian5/orgs","repos_url":"https://api.github.com/users/aquarian5/repos","events_url":"https://api.github.com/users/aquarian5/events{/privacy}","received_events_url":"https://api.github.com/users/aquarian5/received_events","type":"User","site_admin":false},"body":"user_id: current_user","created_at":"2015-12-11T23:33:55Z","updated_at":"2015-12-11T23:33:55Z","html_url":"https://github.com/nyc-copperheads-2016/gorillaZ/pull/4#discussion_r47418456","pull_request_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/comments/47418456"},"html":{"href":"https://github.com/nyc-copperheads-2016/gorillaZ/pull/4#discussion_r47418456"},"pull_request":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4","id":53457560,"html_url":"https://github.com/nyc-copperheads-2016/gorillaZ/pull/4","diff_url":"https://github.com/nyc-copperheads-2016/gorillaZ/pull/4.diff","patch_url":"https://github.com/nyc-copperheads-2016/gorillaZ/pull/4.patch","issue_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/4","number":4,"state":"open","locked":false,"title":"Survey controller","user":{"login":"Brunation11","id":13388922,"avatar_url":"https://avatars.githubusercontent.com/u/13388922?v=3","gravatar_id":"","url":"https://api.github.com/users/Brunation11","html_url":"https://github.com/Brunation11","followers_url":"https://api.github.com/users/Brunation11/followers","following_url":"https://api.github.com/users/Brunation11/following{/other_user}","gists_url":"https://api.github.com/users/Brunation11/gists{/gist_id}","starred_url":"https://api.github.com/users/Brunation11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brunation11/subscriptions","organizations_url":"https://api.github.com/users/Brunation11/orgs","repos_url":"https://api.github.com/users/Brunation11/repos","events_url":"https://api.github.com/users/Brunation11/events{/privacy}","received_events_url":"https://api.github.com/users/Brunation11/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-11T23:30:55Z","updated_at":"2015-12-11T23:33:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"993b410eef89694f96dfd8254f6b7fe4579bb560","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4/commits","review_comments_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4/comments","review_comment_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/4/comments","statuses_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/statuses/529458d435b55e68463864f2b68f049980b51193","head":{"label":"nyc-copperheads-2016:survey_controller","ref":"survey_controller","sha":"529458d435b55e68463864f2b68f049980b51193","user":{"login":"nyc-copperheads-2016","id":10661973,"avatar_url":"https://avatars.githubusercontent.com/u/10661973?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-copperheads-2016","html_url":"https://github.com/nyc-copperheads-2016","followers_url":"https://api.github.com/users/nyc-copperheads-2016/followers","following_url":"https://api.github.com/users/nyc-copperheads-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-copperheads-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-copperheads-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-copperheads-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-copperheads-2016/orgs","repos_url":"https://api.github.com/users/nyc-copperheads-2016/repos","events_url":"https://api.github.com/users/nyc-copperheads-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-copperheads-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":47836854,"name":"gorillaZ","full_name":"nyc-copperheads-2016/gorillaZ","owner":{"login":"nyc-copperheads-2016","id":10661973,"avatar_url":"https://avatars.githubusercontent.com/u/10661973?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-copperheads-2016","html_url":"https://github.com/nyc-copperheads-2016","followers_url":"https://api.github.com/users/nyc-copperheads-2016/followers","following_url":"https://api.github.com/users/nyc-copperheads-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-copperheads-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-copperheads-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-copperheads-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-copperheads-2016/orgs","repos_url":"https://api.github.com/users/nyc-copperheads-2016/repos","events_url":"https://api.github.com/users/nyc-copperheads-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-copperheads-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-copperheads-2016/gorillaZ","description":"","fork":false,"url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ","forks_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/forks","keys_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/teams","hooks_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/hooks","issue_events_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/events","assignees_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/tags","blobs_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/languages","stargazers_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/stargazers","contributors_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/contributors","subscribers_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/subscribers","subscription_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/subscription","commits_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/merges","archive_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/downloads","issues_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/labels{/name}","releases_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/releases{/id}","created_at":"2015-12-11T16:14:32Z","updated_at":"2015-12-11T16:27:05Z","pushed_at":"2015-12-11T23:33:48Z","git_url":"git://github.com/nyc-copperheads-2016/gorillaZ.git","ssh_url":"git@github.com:nyc-copperheads-2016/gorillaZ.git","clone_url":"https://github.com/nyc-copperheads-2016/gorillaZ.git","svn_url":"https://github.com/nyc-copperheads-2016/gorillaZ","homepage":null,"size":29,"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":"nyc-copperheads-2016:master","ref":"master","sha":"766cdeaa2930454ac07805ced402b9b0ea43ac3e","user":{"login":"nyc-copperheads-2016","id":10661973,"avatar_url":"https://avatars.githubusercontent.com/u/10661973?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-copperheads-2016","html_url":"https://github.com/nyc-copperheads-2016","followers_url":"https://api.github.com/users/nyc-copperheads-2016/followers","following_url":"https://api.github.com/users/nyc-copperheads-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-copperheads-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-copperheads-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-copperheads-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-copperheads-2016/orgs","repos_url":"https://api.github.com/users/nyc-copperheads-2016/repos","events_url":"https://api.github.com/users/nyc-copperheads-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-copperheads-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":47836854,"name":"gorillaZ","full_name":"nyc-copperheads-2016/gorillaZ","owner":{"login":"nyc-copperheads-2016","id":10661973,"avatar_url":"https://avatars.githubusercontent.com/u/10661973?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-copperheads-2016","html_url":"https://github.com/nyc-copperheads-2016","followers_url":"https://api.github.com/users/nyc-copperheads-2016/followers","following_url":"https://api.github.com/users/nyc-copperheads-2016/following{/other_user}","gists_url":"https://api.github.com/users/nyc-copperheads-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-copperheads-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-copperheads-2016/subscriptions","organizations_url":"https://api.github.com/users/nyc-copperheads-2016/orgs","repos_url":"https://api.github.com/users/nyc-copperheads-2016/repos","events_url":"https://api.github.com/users/nyc-copperheads-2016/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-copperheads-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-copperheads-2016/gorillaZ","description":"","fork":false,"url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ","forks_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/forks","keys_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/teams","hooks_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/hooks","issue_events_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/events","assignees_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/tags","blobs_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/languages","stargazers_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/stargazers","contributors_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/contributors","subscribers_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/subscribers","subscription_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/subscription","commits_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/merges","archive_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/downloads","issues_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/labels{/name}","releases_url":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/releases{/id}","created_at":"2015-12-11T16:14:32Z","updated_at":"2015-12-11T16:27:05Z","pushed_at":"2015-12-11T23:33:48Z","git_url":"git://github.com/nyc-copperheads-2016/gorillaZ.git","ssh_url":"git@github.com:nyc-copperheads-2016/gorillaZ.git","clone_url":"https://github.com/nyc-copperheads-2016/gorillaZ.git","svn_url":"https://github.com/nyc-copperheads-2016/gorillaZ","homepage":null,"size":29,"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/nyc-copperheads-2016/gorillaZ/pulls/4"},"html":{"href":"https://github.com/nyc-copperheads-2016/gorillaZ/pull/4"},"issue":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/4"},"comments":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/nyc-copperheads-2016/gorillaZ/statuses/529458d435b55e68463864f2b68f049980b51193"}}}}