{"action":"created","comment":{"url":"https://api.github.com/repos/TraceyK14/Blog/pulls/comments/31195203","id":31195203,"diff_hunk":"@@ -0,0 +1,61 @@\n+class UsersController < ApplicationController\n+  before_action :logged_in_user, only: [:index, :edit, :update]","path":"app/controllers/users_controller.rb","position":2,"original_position":2,"commit_id":"5630aab6a991e08169acf940fd642c11473b512e","original_commit_id":"5630aab6a991e08169acf940fd642c11473b512e","user":{"login":"germs12","id":215925,"avatar_url":"https://avatars.githubusercontent.com/u/215925?v=3","gravatar_id":"","url":"https://api.github.com/users/germs12","html_url":"https://github.com/germs12","followers_url":"https://api.github.com/users/germs12/followers","following_url":"https://api.github.com/users/germs12/following{/other_user}","gists_url":"https://api.github.com/users/germs12/gists{/gist_id}","starred_url":"https://api.github.com/users/germs12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germs12/subscriptions","organizations_url":"https://api.github.com/users/germs12/orgs","repos_url":"https://api.github.com/users/germs12/repos","events_url":"https://api.github.com/users/germs12/events{/privacy}","received_events_url":"https://api.github.com/users/germs12/received_events","type":"User","site_admin":false},"body":"OK, cool. Thank you.\nOn May 27, 2015 20:49, \"TraceyK14\" <notifications@github.com> wrote:\n\n> In app/controllers/users_controller.rb\n> <https://github.com/TraceyK14/Blog/pull/1#discussion_r31195167>:\n>\n> > @@ -0,0 +1,61 @@\n> > +class UsersController < ApplicationController\n> > +  before_action :logged_in_user, only: [:index, :edit, :update]\n>\n> There is a \"users\" link in the header once you log in, so if you make an\n> account then you can view all other users on the site, this is also where\n> the admin can delete anybody they want. But all I need to do is make it\n> available to non-users as well.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/TraceyK14/Blog/pull/1/files#r31195167>.\n>\n","created_at":"2015-05-28T00:50:21Z","updated_at":"2015-05-28T00:50:21Z","html_url":"https://github.com/TraceyK14/Blog/pull/1#discussion_r31195203","pull_request_url":"https://api.github.com/repos/TraceyK14/Blog/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/TraceyK14/Blog/pulls/comments/31195203"},"html":{"href":"https://github.com/TraceyK14/Blog/pull/1#discussion_r31195203"},"pull_request":{"href":"https://api.github.com/repos/TraceyK14/Blog/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/TraceyK14/Blog/pulls/1","id":36241114,"html_url":"https://github.com/TraceyK14/Blog/pull/1","diff_url":"https://github.com/TraceyK14/Blog/pull/1.diff","patch_url":"https://github.com/TraceyK14/Blog/pull/1.patch","issue_url":"https://api.github.com/repos/TraceyK14/Blog/issues/1","number":1,"state":"open","locked":false,"title":"Development to Master","user":{"login":"germs12","id":215925,"avatar_url":"https://avatars.githubusercontent.com/u/215925?v=3","gravatar_id":"","url":"https://api.github.com/users/germs12","html_url":"https://github.com/germs12","followers_url":"https://api.github.com/users/germs12/followers","following_url":"https://api.github.com/users/germs12/following{/other_user}","gists_url":"https://api.github.com/users/germs12/gists{/gist_id}","starred_url":"https://api.github.com/users/germs12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germs12/subscriptions","organizations_url":"https://api.github.com/users/germs12/orgs","repos_url":"https://api.github.com/users/germs12/repos","events_url":"https://api.github.com/users/germs12/events{/privacy}","received_events_url":"https://api.github.com/users/germs12/received_events","type":"User","site_admin":false},"body":"A platform for James Thullbery to review code base and provide comments and feedback.\r\n\r\nThis will be the platform for us to engage back and forth and improve the code base.  I will highlight issues and you can remedy them.  When that happens, the comment will be outdated and no longer visible.  You'll also be able to do the same back to me, posting questions here so that I can come to them when I have time.  Slowly we will craft a solid blog application and in the process sharpen our programming abilities.\r\n\r\nWhile we have passed the 1 week deadline, that is by no means a failure.  I think you've tackled this problem and that deserves credit.  Hopefully this process can be mutually beneficial to us.\r\n\r\nI have identified the following gaps between what was asked and what is to be done: \r\n\r\n- [x] Post a blog\r\n- [x] Validation on models\r\n- [x] Display errors\r\n- [ ] Registration Page\r\n- [ ] Login Page\r\n- [ ] Admin Page\r\n- [ ] Comment on Blog\r\n- [ ] Blog Author Admin Page (Pages for the admin)\r\n- [ ] Tests\r\n- [x] Code on Github\r\n- [x] Commit frequently\r\n- [x] Branch off of master","created_at":"2015-05-26T20:17:40Z","updated_at":"2015-05-28T00:50:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f96f138ace4da171c66660b08ec6cb22230a23c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TraceyK14/Blog/pulls/1/commits","review_comments_url":"https://api.github.com/repos/TraceyK14/Blog/pulls/1/comments","review_comment_url":"https://api.github.com/repos/TraceyK14/Blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TraceyK14/Blog/issues/1/comments","statuses_url":"https://api.github.com/repos/TraceyK14/Blog/statuses/5630aab6a991e08169acf940fd642c11473b512e","head":{"label":"TraceyK14:development","ref":"development","sha":"5630aab6a991e08169acf940fd642c11473b512e","user":{"login":"TraceyK14","id":6742945,"avatar_url":"https://avatars.githubusercontent.com/u/6742945?v=3","gravatar_id":"","url":"https://api.github.com/users/TraceyK14","html_url":"https://github.com/TraceyK14","followers_url":"https://api.github.com/users/TraceyK14/followers","following_url":"https://api.github.com/users/TraceyK14/following{/other_user}","gists_url":"https://api.github.com/users/TraceyK14/gists{/gist_id}","starred_url":"https://api.github.com/users/TraceyK14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TraceyK14/subscriptions","organizations_url":"https://api.github.com/users/TraceyK14/orgs","repos_url":"https://api.github.com/users/TraceyK14/repos","events_url":"https://api.github.com/users/TraceyK14/events{/privacy}","received_events_url":"https://api.github.com/users/TraceyK14/received_events","type":"User","site_admin":false},"repo":{"id":35834907,"name":"Blog","full_name":"TraceyK14/Blog","owner":{"login":"TraceyK14","id":6742945,"avatar_url":"https://avatars.githubusercontent.com/u/6742945?v=3","gravatar_id":"","url":"https://api.github.com/users/TraceyK14","html_url":"https://github.com/TraceyK14","followers_url":"https://api.github.com/users/TraceyK14/followers","following_url":"https://api.github.com/users/TraceyK14/following{/other_user}","gists_url":"https://api.github.com/users/TraceyK14/gists{/gist_id}","starred_url":"https://api.github.com/users/TraceyK14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TraceyK14/subscriptions","organizations_url":"https://api.github.com/users/TraceyK14/orgs","repos_url":"https://api.github.com/users/TraceyK14/repos","events_url":"https://api.github.com/users/TraceyK14/events{/privacy}","received_events_url":"https://api.github.com/users/TraceyK14/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TraceyK14/Blog","description":"Blog test.","fork":false,"url":"https://api.github.com/repos/TraceyK14/Blog","forks_url":"https://api.github.com/repos/TraceyK14/Blog/forks","keys_url":"https://api.github.com/repos/TraceyK14/Blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TraceyK14/Blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TraceyK14/Blog/teams","hooks_url":"https://api.github.com/repos/TraceyK14/Blog/hooks","issue_events_url":"https://api.github.com/repos/TraceyK14/Blog/issues/events{/number}","events_url":"https://api.github.com/repos/TraceyK14/Blog/events","assignees_url":"https://api.github.com/repos/TraceyK14/Blog/assignees{/user}","branches_url":"https://api.github.com/repos/TraceyK14/Blog/branches{/branch}","tags_url":"https://api.github.com/repos/TraceyK14/Blog/tags","blobs_url":"https://api.github.com/repos/TraceyK14/Blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TraceyK14/Blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TraceyK14/Blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/TraceyK14/Blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TraceyK14/Blog/statuses/{sha}","languages_url":"https://api.github.com/repos/TraceyK14/Blog/languages","stargazers_url":"https://api.github.com/repos/TraceyK14/Blog/stargazers","contributors_url":"https://api.github.com/repos/TraceyK14/Blog/contributors","subscribers_url":"https://api.github.com/repos/TraceyK14/Blog/subscribers","subscription_url":"https://api.github.com/repos/TraceyK14/Blog/subscription","commits_url":"https://api.github.com/repos/TraceyK14/Blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/TraceyK14/Blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/TraceyK14/Blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/TraceyK14/Blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/TraceyK14/Blog/contents/{+path}","compare_url":"https://api.github.com/repos/TraceyK14/Blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TraceyK14/Blog/merges","archive_url":"https://api.github.com/repos/TraceyK14/Blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TraceyK14/Blog/downloads","issues_url":"https://api.github.com/repos/TraceyK14/Blog/issues{/number}","pulls_url":"https://api.github.com/repos/TraceyK14/Blog/pulls{/number}","milestones_url":"https://api.github.com/repos/TraceyK14/Blog/milestones{/number}","notifications_url":"https://api.github.com/repos/TraceyK14/Blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TraceyK14/Blog/labels{/name}","releases_url":"https://api.github.com/repos/TraceyK14/Blog/releases{/id}","created_at":"2015-05-18T18:23:40Z","updated_at":"2015-05-18T18:26:21Z","pushed_at":"2015-05-26T20:17:41Z","git_url":"git://github.com/TraceyK14/Blog.git","ssh_url":"git@github.com:TraceyK14/Blog.git","clone_url":"https://github.com/TraceyK14/Blog.git","svn_url":"https://github.com/TraceyK14/Blog","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"TraceyK14:master","ref":"master","sha":"e40e31eb52615f5c3e805dc85b758c0f32b5b1e2","user":{"login":"TraceyK14","id":6742945,"avatar_url":"https://avatars.githubusercontent.com/u/6742945?v=3","gravatar_id":"","url":"https://api.github.com/users/TraceyK14","html_url":"https://github.com/TraceyK14","followers_url":"https://api.github.com/users/TraceyK14/followers","following_url":"https://api.github.com/users/TraceyK14/following{/other_user}","gists_url":"https://api.github.com/users/TraceyK14/gists{/gist_id}","starred_url":"https://api.github.com/users/TraceyK14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TraceyK14/subscriptions","organizations_url":"https://api.github.com/users/TraceyK14/orgs","repos_url":"https://api.github.com/users/TraceyK14/repos","events_url":"https://api.github.com/users/TraceyK14/events{/privacy}","received_events_url":"https://api.github.com/users/TraceyK14/received_events","type":"User","site_admin":false},"repo":{"id":35834907,"name":"Blog","full_name":"TraceyK14/Blog","owner":{"login":"TraceyK14","id":6742945,"avatar_url":"https://avatars.githubusercontent.com/u/6742945?v=3","gravatar_id":"","url":"https://api.github.com/users/TraceyK14","html_url":"https://github.com/TraceyK14","followers_url":"https://api.github.com/users/TraceyK14/followers","following_url":"https://api.github.com/users/TraceyK14/following{/other_user}","gists_url":"https://api.github.com/users/TraceyK14/gists{/gist_id}","starred_url":"https://api.github.com/users/TraceyK14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TraceyK14/subscriptions","organizations_url":"https://api.github.com/users/TraceyK14/orgs","repos_url":"https://api.github.com/users/TraceyK14/repos","events_url":"https://api.github.com/users/TraceyK14/events{/privacy}","received_events_url":"https://api.github.com/users/TraceyK14/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TraceyK14/Blog","description":"Blog test.","fork":false,"url":"https://api.github.com/repos/TraceyK14/Blog","forks_url":"https://api.github.com/repos/TraceyK14/Blog/forks","keys_url":"https://api.github.com/repos/TraceyK14/Blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TraceyK14/Blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TraceyK14/Blog/teams","hooks_url":"https://api.github.com/repos/TraceyK14/Blog/hooks","issue_events_url":"https://api.github.com/repos/TraceyK14/Blog/issues/events{/number}","events_url":"https://api.github.com/repos/TraceyK14/Blog/events","assignees_url":"https://api.github.com/repos/TraceyK14/Blog/assignees{/user}","branches_url":"https://api.github.com/repos/TraceyK14/Blog/branches{/branch}","tags_url":"https://api.github.com/repos/TraceyK14/Blog/tags","blobs_url":"https://api.github.com/repos/TraceyK14/Blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TraceyK14/Blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TraceyK14/Blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/TraceyK14/Blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TraceyK14/Blog/statuses/{sha}","languages_url":"https://api.github.com/repos/TraceyK14/Blog/languages","stargazers_url":"https://api.github.com/repos/TraceyK14/Blog/stargazers","contributors_url":"https://api.github.com/repos/TraceyK14/Blog/contributors","subscribers_url":"https://api.github.com/repos/TraceyK14/Blog/subscribers","subscription_url":"https://api.github.com/repos/TraceyK14/Blog/subscription","commits_url":"https://api.github.com/repos/TraceyK14/Blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/TraceyK14/Blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/TraceyK14/Blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/TraceyK14/Blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/TraceyK14/Blog/contents/{+path}","compare_url":"https://api.github.com/repos/TraceyK14/Blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TraceyK14/Blog/merges","archive_url":"https://api.github.com/repos/TraceyK14/Blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TraceyK14/Blog/downloads","issues_url":"https://api.github.com/repos/TraceyK14/Blog/issues{/number}","pulls_url":"https://api.github.com/repos/TraceyK14/Blog/pulls{/number}","milestones_url":"https://api.github.com/repos/TraceyK14/Blog/milestones{/number}","notifications_url":"https://api.github.com/repos/TraceyK14/Blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TraceyK14/Blog/labels{/name}","releases_url":"https://api.github.com/repos/TraceyK14/Blog/releases{/id}","created_at":"2015-05-18T18:23:40Z","updated_at":"2015-05-18T18:26:21Z","pushed_at":"2015-05-26T20:17:41Z","git_url":"git://github.com/TraceyK14/Blog.git","ssh_url":"git@github.com:TraceyK14/Blog.git","clone_url":"https://github.com/TraceyK14/Blog.git","svn_url":"https://github.com/TraceyK14/Blog","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TraceyK14/Blog/pulls/1"},"html":{"href":"https://github.com/TraceyK14/Blog/pull/1"},"issue":{"href":"https://api.github.com/repos/TraceyK14/Blog/issues/1"},"comments":{"href":"https://api.github.com/repos/TraceyK14/Blog/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/TraceyK14/Blog/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/TraceyK14/Blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TraceyK14/Blog/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/TraceyK14/Blog/statuses/5630aab6a991e08169acf940fd642c11473b512e"}}}}