{"action":"created","comment":{"url":"https://api.github.com/repos/commit-tech/takoyaki/pulls/comments/171883500","pull_request_review_id":100815595,"id":171883500,"diff_hunk":"@@ -0,0 +1,14 @@\n+# frozen_string_literal: true\n+\n+class HomeController < ApplicationController\n+  before_action :authenticate_user!\n+  def index\n+    if user_signed_in?\n+      @uu = current_user\n+      #@uu.add_role :admin if @uu.email == 'jiang@u.nus.edu'","path":"app/controllers/home_controller.rb","position":8,"original_position":8,"commit_id":"30a98d8b23fd27105d65e1e2aa6873e0667a63d0","original_commit_id":"30a98d8b23fd27105d65e1e2aa6873e0667a63d0","user":{"login":"donjar","id":14049598,"avatar_url":"https://avatars0.githubusercontent.com/u/14049598?v=4","gravatar_id":"","url":"https://api.github.com/users/donjar","html_url":"https://github.com/donjar","followers_url":"https://api.github.com/users/donjar/followers","following_url":"https://api.github.com/users/donjar/following{/other_user}","gists_url":"https://api.github.com/users/donjar/gists{/gist_id}","starred_url":"https://api.github.com/users/donjar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donjar/subscriptions","organizations_url":"https://api.github.com/users/donjar/orgs","repos_url":"https://api.github.com/users/donjar/repos","events_url":"https://api.github.com/users/donjar/events{/privacy}","received_events_url":"https://api.github.com/users/donjar/received_events","type":"User","site_admin":false},"body":"Do remove this comment if you don't use it anymore","created_at":"2018-03-02T15:51:12Z","updated_at":"2018-03-02T15:57:42Z","html_url":"https://github.com/commit-tech/takoyaki/pull/17#discussion_r171883500","pull_request_url":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/commit-tech/takoyaki/pulls/comments/171883500"},"html":{"href":"https://github.com/commit-tech/takoyaki/pull/17#discussion_r171883500"},"pull_request":{"href":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17","id":170927861,"html_url":"https://github.com/commit-tech/takoyaki/pull/17","diff_url":"https://github.com/commit-tech/takoyaki/pull/17.diff","patch_url":"https://github.com/commit-tech/takoyaki/pull/17.patch","issue_url":"https://api.github.com/repos/commit-tech/takoyaki/issues/17","number":17,"state":"open","locked":false,"title":"[WIP] Login","user":{"login":"Hilda-Ang","id":31788611,"avatar_url":"https://avatars3.githubusercontent.com/u/31788611?v=4","gravatar_id":"","url":"https://api.github.com/users/Hilda-Ang","html_url":"https://github.com/Hilda-Ang","followers_url":"https://api.github.com/users/Hilda-Ang/followers","following_url":"https://api.github.com/users/Hilda-Ang/following{/other_user}","gists_url":"https://api.github.com/users/Hilda-Ang/gists{/gist_id}","starred_url":"https://api.github.com/users/Hilda-Ang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hilda-Ang/subscriptions","organizations_url":"https://api.github.com/users/Hilda-Ang/orgs","repos_url":"https://api.github.com/users/Hilda-Ang/repos","events_url":"https://api.github.com/users/Hilda-Ang/events{/privacy}","received_events_url":"https://api.github.com/users/Hilda-Ang/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-23T04:01:07Z","updated_at":"2018-03-02T15:57:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17/commits","review_comments_url":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17/comments","review_comment_url":"https://api.github.com/repos/commit-tech/takoyaki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/commit-tech/takoyaki/issues/17/comments","statuses_url":"https://api.github.com/repos/commit-tech/takoyaki/statuses/30a98d8b23fd27105d65e1e2aa6873e0667a63d0","head":{"label":"commit-tech:login","ref":"login","sha":"30a98d8b23fd27105d65e1e2aa6873e0667a63d0","user":{"login":"commit-tech","id":25610172,"avatar_url":"https://avatars1.githubusercontent.com/u/25610172?v=4","gravatar_id":"","url":"https://api.github.com/users/commit-tech","html_url":"https://github.com/commit-tech","followers_url":"https://api.github.com/users/commit-tech/followers","following_url":"https://api.github.com/users/commit-tech/following{/other_user}","gists_url":"https://api.github.com/users/commit-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/commit-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commit-tech/subscriptions","organizations_url":"https://api.github.com/users/commit-tech/orgs","repos_url":"https://api.github.com/users/commit-tech/repos","events_url":"https://api.github.com/users/commit-tech/events{/privacy}","received_events_url":"https://api.github.com/users/commit-tech/received_events","type":"Organization","site_admin":false},"repo":{"id":118217736,"name":"takoyaki","full_name":"commit-tech/takoyaki","owner":{"login":"commit-tech","id":25610172,"avatar_url":"https://avatars1.githubusercontent.com/u/25610172?v=4","gravatar_id":"","url":"https://api.github.com/users/commit-tech","html_url":"https://github.com/commit-tech","followers_url":"https://api.github.com/users/commit-tech/followers","following_url":"https://api.github.com/users/commit-tech/following{/other_user}","gists_url":"https://api.github.com/users/commit-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/commit-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commit-tech/subscriptions","organizations_url":"https://api.github.com/users/commit-tech/orgs","repos_url":"https://api.github.com/users/commit-tech/repos","events_url":"https://api.github.com/users/commit-tech/events{/privacy}","received_events_url":"https://api.github.com/users/commit-tech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/commit-tech/takoyaki","description":"Duty Website, iteration 4","fork":false,"url":"https://api.github.com/repos/commit-tech/takoyaki","forks_url":"https://api.github.com/repos/commit-tech/takoyaki/forks","keys_url":"https://api.github.com/repos/commit-tech/takoyaki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/commit-tech/takoyaki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/commit-tech/takoyaki/teams","hooks_url":"https://api.github.com/repos/commit-tech/takoyaki/hooks","issue_events_url":"https://api.github.com/repos/commit-tech/takoyaki/issues/events{/number}","events_url":"https://api.github.com/repos/commit-tech/takoyaki/events","assignees_url":"https://api.github.com/repos/commit-tech/takoyaki/assignees{/user}","branches_url":"https://api.github.com/repos/commit-tech/takoyaki/branches{/branch}","tags_url":"https://api.github.com/repos/commit-tech/takoyaki/tags","blobs_url":"https://api.github.com/repos/commit-tech/takoyaki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/commit-tech/takoyaki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/commit-tech/takoyaki/git/refs{/sha}","trees_url":"https://api.github.com/repos/commit-tech/takoyaki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/commit-tech/takoyaki/statuses/{sha}","languages_url":"https://api.github.com/repos/commit-tech/takoyaki/languages","stargazers_url":"https://api.github.com/repos/commit-tech/takoyaki/stargazers","contributors_url":"https://api.github.com/repos/commit-tech/takoyaki/contributors","subscribers_url":"https://api.github.com/repos/commit-tech/takoyaki/subscribers","subscription_url":"https://api.github.com/repos/commit-tech/takoyaki/subscription","commits_url":"https://api.github.com/repos/commit-tech/takoyaki/commits{/sha}","git_commits_url":"https://api.github.com/repos/commit-tech/takoyaki/git/commits{/sha}","comments_url":"https://api.github.com/repos/commit-tech/takoyaki/comments{/number}","issue_comment_url":"https://api.github.com/repos/commit-tech/takoyaki/issues/comments{/number}","contents_url":"https://api.github.com/repos/commit-tech/takoyaki/contents/{+path}","compare_url":"https://api.github.com/repos/commit-tech/takoyaki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/commit-tech/takoyaki/merges","archive_url":"https://api.github.com/repos/commit-tech/takoyaki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/commit-tech/takoyaki/downloads","issues_url":"https://api.github.com/repos/commit-tech/takoyaki/issues{/number}","pulls_url":"https://api.github.com/repos/commit-tech/takoyaki/pulls{/number}","milestones_url":"https://api.github.com/repos/commit-tech/takoyaki/milestones{/number}","notifications_url":"https://api.github.com/repos/commit-tech/takoyaki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/commit-tech/takoyaki/labels{/name}","releases_url":"https://api.github.com/repos/commit-tech/takoyaki/releases{/id}","deployments_url":"https://api.github.com/repos/commit-tech/takoyaki/deployments","created_at":"2018-01-20T06:56:03Z","updated_at":"2018-02-23T15:15:41Z","pushed_at":"2018-03-02T15:55:47Z","git_url":"git://github.com/commit-tech/takoyaki.git","ssh_url":"git@github.com:commit-tech/takoyaki.git","clone_url":"https://github.com/commit-tech/takoyaki.git","svn_url":"https://github.com/commit-tech/takoyaki","homepage":null,"size":1081,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":8,"watchers":2,"default_branch":"master"}},"base":{"label":"commit-tech:master","ref":"master","sha":"dd6c5b92eb835b0be03fe48bdad2a730e649640c","user":{"login":"commit-tech","id":25610172,"avatar_url":"https://avatars1.githubusercontent.com/u/25610172?v=4","gravatar_id":"","url":"https://api.github.com/users/commit-tech","html_url":"https://github.com/commit-tech","followers_url":"https://api.github.com/users/commit-tech/followers","following_url":"https://api.github.com/users/commit-tech/following{/other_user}","gists_url":"https://api.github.com/users/commit-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/commit-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commit-tech/subscriptions","organizations_url":"https://api.github.com/users/commit-tech/orgs","repos_url":"https://api.github.com/users/commit-tech/repos","events_url":"https://api.github.com/users/commit-tech/events{/privacy}","received_events_url":"https://api.github.com/users/commit-tech/received_events","type":"Organization","site_admin":false},"repo":{"id":118217736,"name":"takoyaki","full_name":"commit-tech/takoyaki","owner":{"login":"commit-tech","id":25610172,"avatar_url":"https://avatars1.githubusercontent.com/u/25610172?v=4","gravatar_id":"","url":"https://api.github.com/users/commit-tech","html_url":"https://github.com/commit-tech","followers_url":"https://api.github.com/users/commit-tech/followers","following_url":"https://api.github.com/users/commit-tech/following{/other_user}","gists_url":"https://api.github.com/users/commit-tech/gists{/gist_id}","starred_url":"https://api.github.com/users/commit-tech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commit-tech/subscriptions","organizations_url":"https://api.github.com/users/commit-tech/orgs","repos_url":"https://api.github.com/users/commit-tech/repos","events_url":"https://api.github.com/users/commit-tech/events{/privacy}","received_events_url":"https://api.github.com/users/commit-tech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/commit-tech/takoyaki","description":"Duty Website, iteration 4","fork":false,"url":"https://api.github.com/repos/commit-tech/takoyaki","forks_url":"https://api.github.com/repos/commit-tech/takoyaki/forks","keys_url":"https://api.github.com/repos/commit-tech/takoyaki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/commit-tech/takoyaki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/commit-tech/takoyaki/teams","hooks_url":"https://api.github.com/repos/commit-tech/takoyaki/hooks","issue_events_url":"https://api.github.com/repos/commit-tech/takoyaki/issues/events{/number}","events_url":"https://api.github.com/repos/commit-tech/takoyaki/events","assignees_url":"https://api.github.com/repos/commit-tech/takoyaki/assignees{/user}","branches_url":"https://api.github.com/repos/commit-tech/takoyaki/branches{/branch}","tags_url":"https://api.github.com/repos/commit-tech/takoyaki/tags","blobs_url":"https://api.github.com/repos/commit-tech/takoyaki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/commit-tech/takoyaki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/commit-tech/takoyaki/git/refs{/sha}","trees_url":"https://api.github.com/repos/commit-tech/takoyaki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/commit-tech/takoyaki/statuses/{sha}","languages_url":"https://api.github.com/repos/commit-tech/takoyaki/languages","stargazers_url":"https://api.github.com/repos/commit-tech/takoyaki/stargazers","contributors_url":"https://api.github.com/repos/commit-tech/takoyaki/contributors","subscribers_url":"https://api.github.com/repos/commit-tech/takoyaki/subscribers","subscription_url":"https://api.github.com/repos/commit-tech/takoyaki/subscription","commits_url":"https://api.github.com/repos/commit-tech/takoyaki/commits{/sha}","git_commits_url":"https://api.github.com/repos/commit-tech/takoyaki/git/commits{/sha}","comments_url":"https://api.github.com/repos/commit-tech/takoyaki/comments{/number}","issue_comment_url":"https://api.github.com/repos/commit-tech/takoyaki/issues/comments{/number}","contents_url":"https://api.github.com/repos/commit-tech/takoyaki/contents/{+path}","compare_url":"https://api.github.com/repos/commit-tech/takoyaki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/commit-tech/takoyaki/merges","archive_url":"https://api.github.com/repos/commit-tech/takoyaki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/commit-tech/takoyaki/downloads","issues_url":"https://api.github.com/repos/commit-tech/takoyaki/issues{/number}","pulls_url":"https://api.github.com/repos/commit-tech/takoyaki/pulls{/number}","milestones_url":"https://api.github.com/repos/commit-tech/takoyaki/milestones{/number}","notifications_url":"https://api.github.com/repos/commit-tech/takoyaki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/commit-tech/takoyaki/labels{/name}","releases_url":"https://api.github.com/repos/commit-tech/takoyaki/releases{/id}","deployments_url":"https://api.github.com/repos/commit-tech/takoyaki/deployments","created_at":"2018-01-20T06:56:03Z","updated_at":"2018-02-23T15:15:41Z","pushed_at":"2018-03-02T15:55:47Z","git_url":"git://github.com/commit-tech/takoyaki.git","ssh_url":"git@github.com:commit-tech/takoyaki.git","clone_url":"https://github.com/commit-tech/takoyaki.git","svn_url":"https://github.com/commit-tech/takoyaki","homepage":null,"size":1081,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17"},"html":{"href":"https://github.com/commit-tech/takoyaki/pull/17"},"issue":{"href":"https://api.github.com/repos/commit-tech/takoyaki/issues/17"},"comments":{"href":"https://api.github.com/repos/commit-tech/takoyaki/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/commit-tech/takoyaki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/commit-tech/takoyaki/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/commit-tech/takoyaki/statuses/30a98d8b23fd27105d65e1e2aa6873e0667a63d0"}},"author_association":"NONE"}}
{"actor":{"display_login":"donjar"}}