{"action":"created","comment":{"url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/comments/33679037","id":33679037,"diff_hunk":"@@ -0,0 +1,12 @@\n+require 'rails_helper'","path":"spec/controllers/sessions_controller_spec.rb","position":1,"original_position":1,"commit_id":"f421b0452d8bb69f8f85f45ac103ca9ac7f7e6ac","original_commit_id":"f421b0452d8bb69f8f85f45ac103ca9ac7f7e6ac","user":{"login":"AbdullahAlger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAlger","html_url":"https://github.com/AbdullahAlger","followers_url":"https://api.github.com/users/AbdullahAlger/followers","following_url":"https://api.github.com/users/AbdullahAlger/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAlger/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAlger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAlger/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAlger/orgs","repos_url":"https://api.github.com/users/AbdullahAlger/repos","events_url":"https://api.github.com/users/AbdullahAlger/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAlger/received_events","type":"User","site_admin":false},"body":"@eliotsykes \r\n\r\nYou can see that I have been toying around and my mess is left behind ....","created_at":"2015-07-01T13:44:58Z","updated_at":"2015-07-01T13:44:58Z","html_url":"https://github.com/AbdullahAlger/rails-api/pull/4#discussion_r33679037","pull_request_url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/comments/33679037"},"html":{"href":"https://github.com/AbdullahAlger/rails-api/pull/4#discussion_r33679037"},"pull_request":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4","id":38918786,"html_url":"https://github.com/AbdullahAlger/rails-api/pull/4","diff_url":"https://github.com/AbdullahAlger/rails-api/pull/4.diff","patch_url":"https://github.com/AbdullahAlger/rails-api/pull/4.patch","issue_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/4","number":4,"state":"closed","locked":false,"title":"allowing only items in specific lists to be visible in routes","user":{"login":"AbdullahAlger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAlger","html_url":"https://github.com/AbdullahAlger","followers_url":"https://api.github.com/users/AbdullahAlger/followers","following_url":"https://api.github.com/users/AbdullahAlger/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAlger/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAlger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAlger/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAlger/orgs","repos_url":"https://api.github.com/users/AbdullahAlger/repos","events_url":"https://api.github.com/users/AbdullahAlger/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAlger/received_events","type":"User","site_admin":false},"body":"I have been adding new routes. I am not sure I should be doing this, but it allows me to add and view items and lists. Before, I could only add items and lists.","created_at":"2015-06-30T20:09:19Z","updated_at":"2015-07-01T13:44:58Z","closed_at":"2015-06-30T20:09:59Z","merged_at":"2015-06-30T20:09:58Z","merge_commit_sha":"319e946b026a9d88400348569e1e2d16981ce3aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4/commits","review_comments_url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4/comments","review_comment_url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/4/comments","statuses_url":"https://api.github.com/repos/AbdullahAlger/rails-api/statuses/f421b0452d8bb69f8f85f45ac103ca9ac7f7e6ac","head":{"label":"AbdullahAlger:authentication","ref":"authentication","sha":"f421b0452d8bb69f8f85f45ac103ca9ac7f7e6ac","user":{"login":"AbdullahAlger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAlger","html_url":"https://github.com/AbdullahAlger","followers_url":"https://api.github.com/users/AbdullahAlger/followers","following_url":"https://api.github.com/users/AbdullahAlger/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAlger/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAlger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAlger/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAlger/orgs","repos_url":"https://api.github.com/users/AbdullahAlger/repos","events_url":"https://api.github.com/users/AbdullahAlger/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAlger/received_events","type":"User","site_admin":false},"repo":{"id":37875652,"name":"rails-api","full_name":"AbdullahAlger/rails-api","owner":{"login":"AbdullahAlger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAlger","html_url":"https://github.com/AbdullahAlger","followers_url":"https://api.github.com/users/AbdullahAlger/followers","following_url":"https://api.github.com/users/AbdullahAlger/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAlger/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAlger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAlger/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAlger/orgs","repos_url":"https://api.github.com/users/AbdullahAlger/repos","events_url":"https://api.github.com/users/AbdullahAlger/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAlger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AbdullahAlger/rails-api","description":"A Rails Backend API for my Angular Task List.","fork":false,"url":"https://api.github.com/repos/AbdullahAlger/rails-api","forks_url":"https://api.github.com/repos/AbdullahAlger/rails-api/forks","keys_url":"https://api.github.com/repos/AbdullahAlger/rails-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AbdullahAlger/rails-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AbdullahAlger/rails-api/teams","hooks_url":"https://api.github.com/repos/AbdullahAlger/rails-api/hooks","issue_events_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/events{/number}","events_url":"https://api.github.com/repos/AbdullahAlger/rails-api/events","assignees_url":"https://api.github.com/repos/AbdullahAlger/rails-api/assignees{/user}","branches_url":"https://api.github.com/repos/AbdullahAlger/rails-api/branches{/branch}","tags_url":"https://api.github.com/repos/AbdullahAlger/rails-api/tags","blobs_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AbdullahAlger/rails-api/statuses/{sha}","languages_url":"https://api.github.com/repos/AbdullahAlger/rails-api/languages","stargazers_url":"https://api.github.com/repos/AbdullahAlger/rails-api/stargazers","contributors_url":"https://api.github.com/repos/AbdullahAlger/rails-api/contributors","subscribers_url":"https://api.github.com/repos/AbdullahAlger/rails-api/subscribers","subscription_url":"https://api.github.com/repos/AbdullahAlger/rails-api/subscription","commits_url":"https://api.github.com/repos/AbdullahAlger/rails-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/AbdullahAlger/rails-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/AbdullahAlger/rails-api/contents/{+path}","compare_url":"https://api.github.com/repos/AbdullahAlger/rails-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AbdullahAlger/rails-api/merges","archive_url":"https://api.github.com/repos/AbdullahAlger/rails-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AbdullahAlger/rails-api/downloads","issues_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues{/number}","pulls_url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls{/number}","milestones_url":"https://api.github.com/repos/AbdullahAlger/rails-api/milestones{/number}","notifications_url":"https://api.github.com/repos/AbdullahAlger/rails-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AbdullahAlger/rails-api/labels{/name}","releases_url":"https://api.github.com/repos/AbdullahAlger/rails-api/releases{/id}","created_at":"2015-06-22T19:18:50Z","updated_at":"2015-06-29T18:55:18Z","pushed_at":"2015-06-30T20:09:58Z","git_url":"git://github.com/AbdullahAlger/rails-api.git","ssh_url":"git@github.com:AbdullahAlger/rails-api.git","clone_url":"https://github.com/AbdullahAlger/rails-api.git","svn_url":"https://github.com/AbdullahAlger/rails-api","homepage":null,"size":224,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AbdullahAlger:master","ref":"master","sha":"631406c4a08d42e65f6eb144e95e31a8a5d83ce2","user":{"login":"AbdullahAlger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAlger","html_url":"https://github.com/AbdullahAlger","followers_url":"https://api.github.com/users/AbdullahAlger/followers","following_url":"https://api.github.com/users/AbdullahAlger/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAlger/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAlger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAlger/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAlger/orgs","repos_url":"https://api.github.com/users/AbdullahAlger/repos","events_url":"https://api.github.com/users/AbdullahAlger/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAlger/received_events","type":"User","site_admin":false},"repo":{"id":37875652,"name":"rails-api","full_name":"AbdullahAlger/rails-api","owner":{"login":"AbdullahAlger","id":6264696,"avatar_url":"https://avatars.githubusercontent.com/u/6264696?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAlger","html_url":"https://github.com/AbdullahAlger","followers_url":"https://api.github.com/users/AbdullahAlger/followers","following_url":"https://api.github.com/users/AbdullahAlger/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAlger/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAlger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAlger/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAlger/orgs","repos_url":"https://api.github.com/users/AbdullahAlger/repos","events_url":"https://api.github.com/users/AbdullahAlger/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAlger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AbdullahAlger/rails-api","description":"A Rails Backend API for my Angular Task List.","fork":false,"url":"https://api.github.com/repos/AbdullahAlger/rails-api","forks_url":"https://api.github.com/repos/AbdullahAlger/rails-api/forks","keys_url":"https://api.github.com/repos/AbdullahAlger/rails-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AbdullahAlger/rails-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AbdullahAlger/rails-api/teams","hooks_url":"https://api.github.com/repos/AbdullahAlger/rails-api/hooks","issue_events_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/events{/number}","events_url":"https://api.github.com/repos/AbdullahAlger/rails-api/events","assignees_url":"https://api.github.com/repos/AbdullahAlger/rails-api/assignees{/user}","branches_url":"https://api.github.com/repos/AbdullahAlger/rails-api/branches{/branch}","tags_url":"https://api.github.com/repos/AbdullahAlger/rails-api/tags","blobs_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AbdullahAlger/rails-api/statuses/{sha}","languages_url":"https://api.github.com/repos/AbdullahAlger/rails-api/languages","stargazers_url":"https://api.github.com/repos/AbdullahAlger/rails-api/stargazers","contributors_url":"https://api.github.com/repos/AbdullahAlger/rails-api/contributors","subscribers_url":"https://api.github.com/repos/AbdullahAlger/rails-api/subscribers","subscription_url":"https://api.github.com/repos/AbdullahAlger/rails-api/subscription","commits_url":"https://api.github.com/repos/AbdullahAlger/rails-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/AbdullahAlger/rails-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/AbdullahAlger/rails-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/AbdullahAlger/rails-api/contents/{+path}","compare_url":"https://api.github.com/repos/AbdullahAlger/rails-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AbdullahAlger/rails-api/merges","archive_url":"https://api.github.com/repos/AbdullahAlger/rails-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AbdullahAlger/rails-api/downloads","issues_url":"https://api.github.com/repos/AbdullahAlger/rails-api/issues{/number}","pulls_url":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls{/number}","milestones_url":"https://api.github.com/repos/AbdullahAlger/rails-api/milestones{/number}","notifications_url":"https://api.github.com/repos/AbdullahAlger/rails-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AbdullahAlger/rails-api/labels{/name}","releases_url":"https://api.github.com/repos/AbdullahAlger/rails-api/releases{/id}","created_at":"2015-06-22T19:18:50Z","updated_at":"2015-06-29T18:55:18Z","pushed_at":"2015-06-30T20:09:58Z","git_url":"git://github.com/AbdullahAlger/rails-api.git","ssh_url":"git@github.com:AbdullahAlger/rails-api.git","clone_url":"https://github.com/AbdullahAlger/rails-api.git","svn_url":"https://github.com/AbdullahAlger/rails-api","homepage":null,"size":224,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4"},"html":{"href":"https://github.com/AbdullahAlger/rails-api/pull/4"},"issue":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/4"},"comments":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/AbdullahAlger/rails-api/statuses/f421b0452d8bb69f8f85f45ac103ca9ac7f7e6ac"}}}}