{"action":"created","comment":{"url":"https://api.github.com/repos/yiworks/task-board/pulls/comments/236556499","pull_request_review_id":178651471,"id":236556499,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjU1NjQ5OQ==","diff_hunk":"@@ -1,2 +1,17 @@\n module TasksHelper\n+  def set_sort_button_attr(title, column)\n+    direction = case request.fullpath.match(/(?<=sort_direction=)(asc|desc)/).to_s","path":"app/helpers/tasks_helper.rb","position":3,"original_position":3,"commit_id":"c35dfbe371b2052af03485c7e1f6ff69ed67ca6b","original_commit_id":"c35dfbe371b2052af03485c7e1f6ff69ed67ca6b","user":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"body":"paramsを使うようにしました。対象カラムの判定にも活用できたのでうまくいきました！","created_at":"2018-11-27T08:16:47Z","updated_at":"2018-11-27T08:16:47Z","html_url":"https://github.com/yiworks/task-board/pull/25#discussion_r236556499","pull_request_url":"https://api.github.com/repos/yiworks/task-board/pulls/25","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/yiworks/task-board/pulls/comments/236556499"},"html":{"href":"https://github.com/yiworks/task-board/pull/25#discussion_r236556499"},"pull_request":{"href":"https://api.github.com/repos/yiworks/task-board/pulls/25"}},"in_reply_to_id":236477756},"pull_request":{"url":"https://api.github.com/repos/yiworks/task-board/pulls/25","id":230537143,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTM3MTQz","html_url":"https://github.com/yiworks/task-board/pull/25","diff_url":"https://github.com/yiworks/task-board/pull/25.diff","patch_url":"https://github.com/yiworks/task-board/pull/25.patch","issue_url":"https://api.github.com/repos/yiworks/task-board/issues/25","number":25,"state":"open","locked":false,"title":"[fixed #160947932] ステップ20: ログイン/ログアウト機能を実装しよう","user":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"body":"- [x] ログイン画面を実装しましょう\r\n\r\n- [x] ログインしていない場合は、タスク管理のページに遷移できないようにしましょう\r\n\r\n- [x] ログイン中のユーザーが作成したタスクを紐づける\r\n\r\n- [x] 自分が作成したタスクだけを表示するようにしましょう\r\n\r\n- [x] ログアウト機能を実装しましょう\r\n\r\n- [x] テストの拡充","created_at":"2018-11-13T16:16:55Z","updated_at":"2018-11-27T08:16:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87d1e4784e0e97e997b5682ff6158c5594bfa840","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yiworks/task-board/pulls/25/commits","review_comments_url":"https://api.github.com/repos/yiworks/task-board/pulls/25/comments","review_comment_url":"https://api.github.com/repos/yiworks/task-board/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiworks/task-board/issues/25/comments","statuses_url":"https://api.github.com/repos/yiworks/task-board/statuses/c35dfbe371b2052af03485c7e1f6ff69ed67ca6b","head":{"label":"yiworks:add-session","ref":"add-session","sha":"c35dfbe371b2052af03485c7e1f6ff69ed67ca6b","user":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"repo":{"id":151026132,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEwMjYxMzI=","name":"task-board","full_name":"yiworks/task-board","private":false,"owner":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yiworks/task-board","description":"TaskBoard","fork":false,"url":"https://api.github.com/repos/yiworks/task-board","forks_url":"https://api.github.com/repos/yiworks/task-board/forks","keys_url":"https://api.github.com/repos/yiworks/task-board/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiworks/task-board/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiworks/task-board/teams","hooks_url":"https://api.github.com/repos/yiworks/task-board/hooks","issue_events_url":"https://api.github.com/repos/yiworks/task-board/issues/events{/number}","events_url":"https://api.github.com/repos/yiworks/task-board/events","assignees_url":"https://api.github.com/repos/yiworks/task-board/assignees{/user}","branches_url":"https://api.github.com/repos/yiworks/task-board/branches{/branch}","tags_url":"https://api.github.com/repos/yiworks/task-board/tags","blobs_url":"https://api.github.com/repos/yiworks/task-board/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiworks/task-board/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiworks/task-board/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiworks/task-board/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiworks/task-board/statuses/{sha}","languages_url":"https://api.github.com/repos/yiworks/task-board/languages","stargazers_url":"https://api.github.com/repos/yiworks/task-board/stargazers","contributors_url":"https://api.github.com/repos/yiworks/task-board/contributors","subscribers_url":"https://api.github.com/repos/yiworks/task-board/subscribers","subscription_url":"https://api.github.com/repos/yiworks/task-board/subscription","commits_url":"https://api.github.com/repos/yiworks/task-board/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiworks/task-board/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiworks/task-board/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiworks/task-board/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiworks/task-board/contents/{+path}","compare_url":"https://api.github.com/repos/yiworks/task-board/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiworks/task-board/merges","archive_url":"https://api.github.com/repos/yiworks/task-board/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiworks/task-board/downloads","issues_url":"https://api.github.com/repos/yiworks/task-board/issues{/number}","pulls_url":"https://api.github.com/repos/yiworks/task-board/pulls{/number}","milestones_url":"https://api.github.com/repos/yiworks/task-board/milestones{/number}","notifications_url":"https://api.github.com/repos/yiworks/task-board/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiworks/task-board/labels{/name}","releases_url":"https://api.github.com/repos/yiworks/task-board/releases{/id}","deployments_url":"https://api.github.com/repos/yiworks/task-board/deployments","created_at":"2018-10-01T02:09:14Z","updated_at":"2018-11-20T05:51:41Z","pushed_at":"2018-11-26T11:40:09Z","git_url":"git://github.com/yiworks/task-board.git","ssh_url":"git@github.com:yiworks/task-board.git","clone_url":"https://github.com/yiworks/task-board.git","svn_url":"https://github.com/yiworks/task-board","homepage":"https://task-board-yi.herokuapp.com/tasks","size":2121,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"yiworks:develop","ref":"develop","sha":"7610d2246012271ebd905b8d5be27a7557b33680","user":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"repo":{"id":151026132,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEwMjYxMzI=","name":"task-board","full_name":"yiworks/task-board","private":false,"owner":{"login":"yiworks","id":37338201,"node_id":"MDQ6VXNlcjM3MzM4MjAx","avatar_url":"https://avatars1.githubusercontent.com/u/37338201?v=4","gravatar_id":"","url":"https://api.github.com/users/yiworks","html_url":"https://github.com/yiworks","followers_url":"https://api.github.com/users/yiworks/followers","following_url":"https://api.github.com/users/yiworks/following{/other_user}","gists_url":"https://api.github.com/users/yiworks/gists{/gist_id}","starred_url":"https://api.github.com/users/yiworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiworks/subscriptions","organizations_url":"https://api.github.com/users/yiworks/orgs","repos_url":"https://api.github.com/users/yiworks/repos","events_url":"https://api.github.com/users/yiworks/events{/privacy}","received_events_url":"https://api.github.com/users/yiworks/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yiworks/task-board","description":"TaskBoard","fork":false,"url":"https://api.github.com/repos/yiworks/task-board","forks_url":"https://api.github.com/repos/yiworks/task-board/forks","keys_url":"https://api.github.com/repos/yiworks/task-board/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiworks/task-board/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiworks/task-board/teams","hooks_url":"https://api.github.com/repos/yiworks/task-board/hooks","issue_events_url":"https://api.github.com/repos/yiworks/task-board/issues/events{/number}","events_url":"https://api.github.com/repos/yiworks/task-board/events","assignees_url":"https://api.github.com/repos/yiworks/task-board/assignees{/user}","branches_url":"https://api.github.com/repos/yiworks/task-board/branches{/branch}","tags_url":"https://api.github.com/repos/yiworks/task-board/tags","blobs_url":"https://api.github.com/repos/yiworks/task-board/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiworks/task-board/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiworks/task-board/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiworks/task-board/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiworks/task-board/statuses/{sha}","languages_url":"https://api.github.com/repos/yiworks/task-board/languages","stargazers_url":"https://api.github.com/repos/yiworks/task-board/stargazers","contributors_url":"https://api.github.com/repos/yiworks/task-board/contributors","subscribers_url":"https://api.github.com/repos/yiworks/task-board/subscribers","subscription_url":"https://api.github.com/repos/yiworks/task-board/subscription","commits_url":"https://api.github.com/repos/yiworks/task-board/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiworks/task-board/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiworks/task-board/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiworks/task-board/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiworks/task-board/contents/{+path}","compare_url":"https://api.github.com/repos/yiworks/task-board/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiworks/task-board/merges","archive_url":"https://api.github.com/repos/yiworks/task-board/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiworks/task-board/downloads","issues_url":"https://api.github.com/repos/yiworks/task-board/issues{/number}","pulls_url":"https://api.github.com/repos/yiworks/task-board/pulls{/number}","milestones_url":"https://api.github.com/repos/yiworks/task-board/milestones{/number}","notifications_url":"https://api.github.com/repos/yiworks/task-board/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiworks/task-board/labels{/name}","releases_url":"https://api.github.com/repos/yiworks/task-board/releases{/id}","deployments_url":"https://api.github.com/repos/yiworks/task-board/deployments","created_at":"2018-10-01T02:09:14Z","updated_at":"2018-11-20T05:51:41Z","pushed_at":"2018-11-26T11:40:09Z","git_url":"git://github.com/yiworks/task-board.git","ssh_url":"git@github.com:yiworks/task-board.git","clone_url":"https://github.com/yiworks/task-board.git","svn_url":"https://github.com/yiworks/task-board","homepage":"https://task-board-yi.herokuapp.com/tasks","size":2121,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/yiworks/task-board/pulls/25"},"html":{"href":"https://github.com/yiworks/task-board/pull/25"},"issue":{"href":"https://api.github.com/repos/yiworks/task-board/issues/25"},"comments":{"href":"https://api.github.com/repos/yiworks/task-board/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/yiworks/task-board/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/yiworks/task-board/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiworks/task-board/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/yiworks/task-board/statuses/c35dfbe371b2052af03485c7e1f6ff69ed67ca6b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yiworks"}}