{"action":"created","comment":{"url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/comments/24950615","id":24950615,"diff_hunk":"@@ -0,0 +1,40 @@\n+\n+get '/white_cards' do\n+  if !logged_in?\n+    erb :'/please_sign_in'\n+  else\n+    @white_cards = users_white_cards\n+    erb :\"/white_cards/show_white_cards\"\n+  end\n+end\n+\n+get '/white_cards/new' do\n+  if logged_in?\n+    erb :\"/white_cards/new_white_card\"\n+  else\n+    erb :'/please_sign_in'\n+  end\n+end\n+\n+post '/white_cards' do\n+  Card.create(color: \"white\", text: params[:card_text], created_by: current_user.id)","path":"app/controllers/white_cards.rb","position":20,"original_position":20,"commit_id":"c34f0f02e2c71e8a71165b381dee6f13722d2988","original_commit_id":"c34f0f02e2c71e8a71165b381dee6f13722d2988","user":{"login":"jareddbc","id":4805277,"avatar_url":"https://avatars.githubusercontent.com/u/4805277?v=3","gravatar_id":"","url":"https://api.github.com/users/jareddbc","html_url":"https://github.com/jareddbc","followers_url":"https://api.github.com/users/jareddbc/followers","following_url":"https://api.github.com/users/jareddbc/following{/other_user}","gists_url":"https://api.github.com/users/jareddbc/gists{/gist_id}","starred_url":"https://api.github.com/users/jareddbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jareddbc/subscriptions","organizations_url":"https://api.github.com/users/jareddbc/orgs","repos_url":"https://api.github.com/users/jareddbc/repos","events_url":"https://api.github.com/users/jareddbc/events{/privacy}","received_events_url":"https://api.github.com/users/jareddbc/received_events","type":"User","site_admin":false},"body":"user `Card.create!` or check the return value in case of failure. ","created_at":"2015-02-18T23:09:27Z","updated_at":"2015-02-18T23:09:27Z","html_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project/pull/8#discussion_r24950615","pull_request_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/comments/24950615"},"html":{"href":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project/pull/8#discussion_r24950615"},"pull_request":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8","id":28896090,"html_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project/pull/8","diff_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project/pull/8.diff","patch_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project/pull/8.patch","issue_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues/8","number":8,"state":"open","locked":false,"title":"Passion Project Complete","user":{"login":"immber","id":7496030,"avatar_url":"https://avatars.githubusercontent.com/u/7496030?v=3","gravatar_id":"","url":"https://api.github.com/users/immber","html_url":"https://github.com/immber","followers_url":"https://api.github.com/users/immber/followers","following_url":"https://api.github.com/users/immber/following{/other_user}","gists_url":"https://api.github.com/users/immber/gists{/gist_id}","starred_url":"https://api.github.com/users/immber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immber/subscriptions","organizations_url":"https://api.github.com/users/immber/orgs","repos_url":"https://api.github.com/users/immber/repos","events_url":"https://api.github.com/users/immber/events{/privacy}","received_events_url":"https://api.github.com/users/immber/received_events","type":"User","site_admin":false},"body":"Here it is...would be happy to demo on Monday.","created_at":"2015-02-09T04:36:39Z","updated_at":"2015-02-18T23:09:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c293166d2486e652e8a9d6ce5aea20f7d0547c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8/commits","review_comments_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8/comments","review_comment_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues/8/comments","statuses_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/statuses/c34f0f02e2c71e8a71165b381dee6f13722d2988","head":{"label":"immber:master","ref":"master","sha":"c34f0f02e2c71e8a71165b381dee6f13722d2988","user":{"login":"immber","id":7496030,"avatar_url":"https://avatars.githubusercontent.com/u/7496030?v=3","gravatar_id":"","url":"https://api.github.com/users/immber","html_url":"https://github.com/immber","followers_url":"https://api.github.com/users/immber/followers","following_url":"https://api.github.com/users/immber/following{/other_user}","gists_url":"https://api.github.com/users/immber/gists{/gist_id}","starred_url":"https://api.github.com/users/immber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immber/subscriptions","organizations_url":"https://api.github.com/users/immber/orgs","repos_url":"https://api.github.com/users/immber/repos","events_url":"https://api.github.com/users/immber/events{/privacy}","received_events_url":"https://api.github.com/users/immber/received_events","type":"User","site_admin":false},"repo":{"id":30335881,"name":"ph2-pA-week-1-passion-project","full_name":"immber/ph2-pA-week-1-passion-project","owner":{"login":"immber","id":7496030,"avatar_url":"https://avatars.githubusercontent.com/u/7496030?v=3","gravatar_id":"","url":"https://api.github.com/users/immber","html_url":"https://github.com/immber","followers_url":"https://api.github.com/users/immber/followers","following_url":"https://api.github.com/users/immber/following{/other_user}","gists_url":"https://api.github.com/users/immber/gists{/gist_id}","starred_url":"https://api.github.com/users/immber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immber/subscriptions","organizations_url":"https://api.github.com/users/immber/orgs","repos_url":"https://api.github.com/users/immber/repos","events_url":"https://api.github.com/users/immber/events{/privacy}","received_events_url":"https://api.github.com/users/immber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/immber/ph2-pA-week-1-passion-project","description":"","fork":true,"url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project","forks_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/forks","keys_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/teams","hooks_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/hooks","issue_events_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/issues/events{/number}","events_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/events","assignees_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/assignees{/user}","branches_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/branches{/branch}","tags_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/tags","blobs_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/statuses/{sha}","languages_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/languages","stargazers_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/stargazers","contributors_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/contributors","subscribers_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/subscribers","subscription_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/subscription","commits_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/issues/comments/{number}","contents_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/contents/{+path}","compare_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/merges","archive_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/downloads","issues_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/issues{/number}","pulls_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/pulls{/number}","milestones_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/milestones{/number}","notifications_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/labels{/name}","releases_url":"https://api.github.com/repos/immber/ph2-pA-week-1-passion-project/releases{/id}","created_at":"2015-02-05T03:34:19Z","updated_at":"2015-02-10T02:37:10Z","pushed_at":"2015-02-10T02:37:10Z","git_url":"git://github.com/immber/ph2-pA-week-1-passion-project.git","ssh_url":"git@github.com:immber/ph2-pA-week-1-passion-project.git","clone_url":"https://github.com/immber/ph2-pA-week-1-passion-project.git","svn_url":"https://github.com/immber/ph2-pA-week-1-passion-project","homepage":null,"size":225,"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":"sf-squirrels-2015:master","ref":"master","sha":"29609cb497d625caed0bec0fe0d03af9670828bc","user":{"login":"sf-squirrels-2015","id":10455711,"avatar_url":"https://avatars.githubusercontent.com/u/10455711?v=3","gravatar_id":"","url":"https://api.github.com/users/sf-squirrels-2015","html_url":"https://github.com/sf-squirrels-2015","followers_url":"https://api.github.com/users/sf-squirrels-2015/followers","following_url":"https://api.github.com/users/sf-squirrels-2015/following{/other_user}","gists_url":"https://api.github.com/users/sf-squirrels-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/sf-squirrels-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sf-squirrels-2015/subscriptions","organizations_url":"https://api.github.com/users/sf-squirrels-2015/orgs","repos_url":"https://api.github.com/users/sf-squirrels-2015/repos","events_url":"https://api.github.com/users/sf-squirrels-2015/events{/privacy}","received_events_url":"https://api.github.com/users/sf-squirrels-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":30276334,"name":"ph2-pA-week-1-passion-project","full_name":"sf-squirrels-2015/ph2-pA-week-1-passion-project","owner":{"login":"sf-squirrels-2015","id":10455711,"avatar_url":"https://avatars.githubusercontent.com/u/10455711?v=3","gravatar_id":"","url":"https://api.github.com/users/sf-squirrels-2015","html_url":"https://github.com/sf-squirrels-2015","followers_url":"https://api.github.com/users/sf-squirrels-2015/followers","following_url":"https://api.github.com/users/sf-squirrels-2015/following{/other_user}","gists_url":"https://api.github.com/users/sf-squirrels-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/sf-squirrels-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sf-squirrels-2015/subscriptions","organizations_url":"https://api.github.com/users/sf-squirrels-2015/orgs","repos_url":"https://api.github.com/users/sf-squirrels-2015/repos","events_url":"https://api.github.com/users/sf-squirrels-2015/events{/privacy}","received_events_url":"https://api.github.com/users/sf-squirrels-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project","description":"","fork":false,"url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project","forks_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/forks","keys_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/teams","hooks_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/hooks","issue_events_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues/events{/number}","events_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/events","assignees_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/assignees{/user}","branches_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/branches{/branch}","tags_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/tags","blobs_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/statuses/{sha}","languages_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/languages","stargazers_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/stargazers","contributors_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/contributors","subscribers_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/subscribers","subscription_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/subscription","commits_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues/comments/{number}","contents_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/contents/{+path}","compare_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/merges","archive_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/downloads","issues_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues{/number}","pulls_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls{/number}","milestones_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/milestones{/number}","notifications_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/labels{/name}","releases_url":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/releases{/id}","created_at":"2015-02-04T02:09:34Z","updated_at":"2015-02-04T02:09:34Z","pushed_at":"2015-02-07T21:33:49Z","git_url":"git://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project.git","ssh_url":"git@github.com:sf-squirrels-2015/ph2-pA-week-1-passion-project.git","clone_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project.git","svn_url":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project","homepage":null,"size":214,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":20,"forks":19,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8"},"html":{"href":"https://github.com/sf-squirrels-2015/ph2-pA-week-1-passion-project/pull/8"},"issue":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues/8"},"comments":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/sf-squirrels-2015/ph2-pA-week-1-passion-project/statuses/c34f0f02e2c71e8a71165b381dee6f13722d2988"}}}}