{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/comments/77648117","id":77648117,"diff_hunk":"@@ -0,0 +1,83 @@\n+class TweetsController < ApplicationController\n+\n+  get \"/tweets\" do\n+    if logged_in?\n+      @title = \"Fwitter\"\n+      @tweets = Tweet.all\n+      @user = current_user\n+      erb :\"tweets/index\"\n+    else\n+      flash[:message] = \"You must be logged in to view tweets.\"\n+     redirect to \"/login\"\n+    end\n+  end\n+\n+  get \"/tweets/new\" do\n+    if logged_in?\n+      @title = \"Create Tweet\"","path":"app/controllers/tweets_controller.rb","position":17,"original_position":17,"commit_id":"672899eebb006cfa2f7123fb523f99104159b8d8","original_commit_id":"672899eebb006cfa2f7123fb523f99104159b8d8","user":{"login":"Lukeghenco","id":15013243,"avatar_url":"https://avatars.githubusercontent.com/u/15013243?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukeghenco","html_url":"https://github.com/Lukeghenco","followers_url":"https://api.github.com/users/Lukeghenco/followers","following_url":"https://api.github.com/users/Lukeghenco/following{/other_user}","gists_url":"https://api.github.com/users/Lukeghenco/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukeghenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukeghenco/subscriptions","organizations_url":"https://api.github.com/users/Lukeghenco/orgs","repos_url":"https://api.github.com/users/Lukeghenco/repos","events_url":"https://api.github.com/users/Lukeghenco/events{/privacy}","received_events_url":"https://api.github.com/users/Lukeghenco/received_events","type":"User","site_admin":false},"body":"lines 17-18 are not needed again.","created_at":"2016-09-06T14:39:36Z","updated_at":"2016-09-06T14:39:36Z","html_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000/pull/200#discussion_r77648117","pull_request_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200","_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/comments/77648117"},"html":{"href":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000/pull/200#discussion_r77648117"},"pull_request":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200","id":83885071,"html_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000/pull/200","diff_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000/pull/200.diff","patch_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000/pull/200.patch","issue_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues/200","number":200,"state":"open","locked":false,"title":"Done.","user":{"login":"becky000","id":18357112,"avatar_url":"https://avatars.githubusercontent.com/u/18357112?v=3","gravatar_id":"","url":"https://api.github.com/users/becky000","html_url":"https://github.com/becky000","followers_url":"https://api.github.com/users/becky000/followers","following_url":"https://api.github.com/users/becky000/following{/other_user}","gists_url":"https://api.github.com/users/becky000/gists{/gist_id}","starred_url":"https://api.github.com/users/becky000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/becky000/subscriptions","organizations_url":"https://api.github.com/users/becky000/orgs","repos_url":"https://api.github.com/users/becky000/repos","events_url":"https://api.github.com/users/becky000/events{/privacy}","received_events_url":"https://api.github.com/users/becky000/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-03T03:50:23Z","updated_at":"2016-09-06T14:39:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1077543d31859a21eed47ff5152f722c3b67fe6b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200/commits","review_comments_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200/comments","review_comment_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues/200/comments","statuses_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/statuses/672899eebb006cfa2f7123fb523f99104159b8d8","head":{"label":"becky000:master","ref":"master","sha":"672899eebb006cfa2f7123fb523f99104159b8d8","user":{"login":"becky000","id":18357112,"avatar_url":"https://avatars.githubusercontent.com/u/18357112?v=3","gravatar_id":"","url":"https://api.github.com/users/becky000","html_url":"https://github.com/becky000","followers_url":"https://api.github.com/users/becky000/followers","following_url":"https://api.github.com/users/becky000/following{/other_user}","gists_url":"https://api.github.com/users/becky000/gists{/gist_id}","starred_url":"https://api.github.com/users/becky000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/becky000/subscriptions","organizations_url":"https://api.github.com/users/becky000/orgs","repos_url":"https://api.github.com/users/becky000/repos","events_url":"https://api.github.com/users/becky000/events{/privacy}","received_events_url":"https://api.github.com/users/becky000/received_events","type":"User","site_admin":false},"repo":{"id":66301983,"name":"sinatra-fwitter-group-project-v-000","full_name":"becky000/sinatra-fwitter-group-project-v-000","owner":{"login":"becky000","id":18357112,"avatar_url":"https://avatars.githubusercontent.com/u/18357112?v=3","gravatar_id":"","url":"https://api.github.com/users/becky000","html_url":"https://github.com/becky000","followers_url":"https://api.github.com/users/becky000/followers","following_url":"https://api.github.com/users/becky000/following{/other_user}","gists_url":"https://api.github.com/users/becky000/gists{/gist_id}","starred_url":"https://api.github.com/users/becky000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/becky000/subscriptions","organizations_url":"https://api.github.com/users/becky000/orgs","repos_url":"https://api.github.com/users/becky000/repos","events_url":"https://api.github.com/users/becky000/events{/privacy}","received_events_url":"https://api.github.com/users/becky000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/becky000/sinatra-fwitter-group-project-v-000","description":null,"fork":true,"url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000","forks_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/forks","keys_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/teams","hooks_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/hooks","issue_events_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/issues/events{/number}","events_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/events","assignees_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/assignees{/user}","branches_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/branches{/branch}","tags_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/tags","blobs_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/git/refs{/sha}","trees_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/statuses/{sha}","languages_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/languages","stargazers_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/stargazers","contributors_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/contributors","subscribers_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/subscribers","subscription_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/subscription","commits_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/commits{/sha}","git_commits_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/git/commits{/sha}","comments_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/comments{/number}","issue_comment_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/issues/comments{/number}","contents_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/contents/{+path}","compare_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/merges","archive_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/downloads","issues_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/issues{/number}","pulls_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/pulls{/number}","milestones_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/milestones{/number}","notifications_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/labels{/name}","releases_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/releases{/id}","deployments_url":"https://api.github.com/repos/becky000/sinatra-fwitter-group-project-v-000/deployments","created_at":"2016-08-22T19:30:10Z","updated_at":"2016-08-22T19:30:11Z","pushed_at":"2016-09-03T03:48:56Z","git_url":"git://github.com/becky000/sinatra-fwitter-group-project-v-000.git","ssh_url":"git@github.com:becky000/sinatra-fwitter-group-project-v-000.git","clone_url":"https://github.com/becky000/sinatra-fwitter-group-project-v-000.git","svn_url":"https://github.com/becky000/sinatra-fwitter-group-project-v-000","homepage":null,"size":57,"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":"learn-co-students:master","ref":"master","sha":"00086fba179f75d8b4716fcd533f1ae017dd73f8","user":{"login":"learn-co-students","id":8825476,"avatar_url":"https://avatars.githubusercontent.com/u/8825476?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-students","html_url":"https://github.com/learn-co-students","followers_url":"https://api.github.com/users/learn-co-students/followers","following_url":"https://api.github.com/users/learn-co-students/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-students/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-students/subscriptions","organizations_url":"https://api.github.com/users/learn-co-students/orgs","repos_url":"https://api.github.com/users/learn-co-students/repos","events_url":"https://api.github.com/users/learn-co-students/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-students/received_events","type":"Organization","site_admin":false},"repo":{"id":48708806,"name":"sinatra-fwitter-group-project-v-000","full_name":"learn-co-students/sinatra-fwitter-group-project-v-000","owner":{"login":"learn-co-students","id":8825476,"avatar_url":"https://avatars.githubusercontent.com/u/8825476?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-students","html_url":"https://github.com/learn-co-students","followers_url":"https://api.github.com/users/learn-co-students/followers","following_url":"https://api.github.com/users/learn-co-students/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-students/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-students/subscriptions","organizations_url":"https://api.github.com/users/learn-co-students/orgs","repos_url":"https://api.github.com/users/learn-co-students/repos","events_url":"https://api.github.com/users/learn-co-students/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-students/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000","forks_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/forks","keys_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/teams","hooks_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/hooks","issue_events_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/events","assignees_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/tags","blobs_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/languages","stargazers_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/stargazers","contributors_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/contributors","subscribers_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/subscribers","subscription_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/subscription","commits_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/merges","archive_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/downloads","issues_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/deployments","created_at":"2015-12-28T19:27:58Z","updated_at":"2016-03-08T20:27:19Z","pushed_at":"2016-09-06T05:19:33Z","git_url":"git://github.com/learn-co-students/sinatra-fwitter-group-project-v-000.git","ssh_url":"git@github.com:learn-co-students/sinatra-fwitter-group-project-v-000.git","clone_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000.git","svn_url":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000","homepage":null,"size":46351,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":218,"mirror_url":null,"open_issues_count":121,"forks":218,"open_issues":121,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200"},"html":{"href":"https://github.com/learn-co-students/sinatra-fwitter-group-project-v-000/pull/200"},"issue":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues/200"},"comments":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-students/sinatra-fwitter-group-project-v-000/statuses/672899eebb006cfa2f7123fb523f99104159b8d8"}}}}
{"actor":{"display_login":"Lukeghenco"}}