{"action":"created","comment":{"url":"https://api.github.com/repos/rkdora/reserve_fp/pulls/comments/233336473","pull_request_review_id":174723067,"id":233336473,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzMzNjQ3Mw==","diff_hunk":"@@ -1,8 +1,10 @@\n+# frozen_string_literal: true\n+\n Rails.application.routes.draw do\n   root 'home#top'\n-  resource :users\n-  get '/users/index' => 'users#index'\n+  resources :users\n   get '/login' => 'users#login'\n   post '/login' => 'users#check_user'","path":"config/routes.rb","position":9,"original_position":9,"commit_id":"8bd37d529066780a6c7f66342fa4019524dfc5ca","original_commit_id":"8bd37d529066780a6c7f66342fa4019524dfc5ca","user":{"login":"k-nasa","id":23740172,"node_id":"MDQ6VXNlcjIzNzQwMTcy","avatar_url":"https://avatars3.githubusercontent.com/u/23740172?v=4","gravatar_id":"","url":"https://api.github.com/users/k-nasa","html_url":"https://github.com/k-nasa","followers_url":"https://api.github.com/users/k-nasa/followers","following_url":"https://api.github.com/users/k-nasa/following{/other_user}","gists_url":"https://api.github.com/users/k-nasa/gists{/gist_id}","starred_url":"https://api.github.com/users/k-nasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-nasa/subscriptions","organizations_url":"https://api.github.com/users/k-nasa/orgs","repos_url":"https://api.github.com/users/k-nasa/repos","events_url":"https://api.github.com/users/k-nasa/events{/privacy}","received_events_url":"https://api.github.com/users/k-nasa/received_events","type":"User","site_admin":false},"body":"[imo] ここらへん今更ですが、check_userでログインするというのは少し分かりづらいかと思います。パット見、認証だけするのかと思います。\r\nusers#loginはsession#newなどでやるとわかりやすいかと思います","created_at":"2018-11-14T07:28:46Z","updated_at":"2018-11-14T07:33:30Z","html_url":"https://github.com/rkdora/reserve_fp/pull/7#discussion_r233336473","pull_request_url":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rkdora/reserve_fp/pulls/comments/233336473"},"html":{"href":"https://github.com/rkdora/reserve_fp/pull/7#discussion_r233336473"},"pull_request":{"href":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7","id":228931391,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4OTMxMzkx","html_url":"https://github.com/rkdora/reserve_fp/pull/7","diff_url":"https://github.com/rkdora/reserve_fp/pull/7.diff","patch_url":"https://github.com/rkdora/reserve_fp/pull/7.patch","issue_url":"https://api.github.com/repos/rkdora/reserve_fp/issues/7","number":7,"state":"open","locked":false,"title":"FP予約受け付け枠の追加機能の追加","user":{"login":"rkdora","id":20394831,"node_id":"MDQ6VXNlcjIwMzk0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/20394831?v=4","gravatar_id":"","url":"https://api.github.com/users/rkdora","html_url":"https://github.com/rkdora","followers_url":"https://api.github.com/users/rkdora/followers","following_url":"https://api.github.com/users/rkdora/following{/other_user}","gists_url":"https://api.github.com/users/rkdora/gists{/gist_id}","starred_url":"https://api.github.com/users/rkdora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkdora/subscriptions","organizations_url":"https://api.github.com/users/rkdora/orgs","repos_url":"https://api.github.com/users/rkdora/repos","events_url":"https://api.github.com/users/rkdora/events{/privacy}","received_events_url":"https://api.github.com/users/rkdora/received_events","type":"User","site_admin":false},"body":"ユーザー作成時にFP権限を持てば、日程を追加することができる。 \r\n現時点では、重複を許す。 \r\nユーザー（FP・FP以外）は、追加された日程一覧を見ることができる。 ","created_at":"2018-11-07T06:40:29Z","updated_at":"2018-11-14T07:33:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82972e78fe596383960a3c086a9955b8ca648432","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dito","id":4264269,"node_id":"MDQ6VXNlcjQyNjQyNjk=","avatar_url":"https://avatars1.githubusercontent.com/u/4264269?v=4","gravatar_id":"","url":"https://api.github.com/users/dito","html_url":"https://github.com/dito","followers_url":"https://api.github.com/users/dito/followers","following_url":"https://api.github.com/users/dito/following{/other_user}","gists_url":"https://api.github.com/users/dito/gists{/gist_id}","starred_url":"https://api.github.com/users/dito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dito/subscriptions","organizations_url":"https://api.github.com/users/dito/orgs","repos_url":"https://api.github.com/users/dito/repos","events_url":"https://api.github.com/users/dito/events{/privacy}","received_events_url":"https://api.github.com/users/dito/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7/commits","review_comments_url":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7/comments","review_comment_url":"https://api.github.com/repos/rkdora/reserve_fp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rkdora/reserve_fp/issues/7/comments","statuses_url":"https://api.github.com/repos/rkdora/reserve_fp/statuses/8bd37d529066780a6c7f66342fa4019524dfc5ca","head":{"label":"rkdora:feature/add-reservation-new","ref":"feature/add-reservation-new","sha":"8bd37d529066780a6c7f66342fa4019524dfc5ca","user":{"login":"rkdora","id":20394831,"node_id":"MDQ6VXNlcjIwMzk0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/20394831?v=4","gravatar_id":"","url":"https://api.github.com/users/rkdora","html_url":"https://github.com/rkdora","followers_url":"https://api.github.com/users/rkdora/followers","following_url":"https://api.github.com/users/rkdora/following{/other_user}","gists_url":"https://api.github.com/users/rkdora/gists{/gist_id}","starred_url":"https://api.github.com/users/rkdora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkdora/subscriptions","organizations_url":"https://api.github.com/users/rkdora/orgs","repos_url":"https://api.github.com/users/rkdora/repos","events_url":"https://api.github.com/users/rkdora/events{/privacy}","received_events_url":"https://api.github.com/users/rkdora/received_events","type":"User","site_admin":false},"repo":{"id":155800425,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU4MDA0MjU=","name":"reserve_fp","full_name":"rkdora/reserve_fp","private":false,"owner":{"login":"rkdora","id":20394831,"node_id":"MDQ6VXNlcjIwMzk0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/20394831?v=4","gravatar_id":"","url":"https://api.github.com/users/rkdora","html_url":"https://github.com/rkdora","followers_url":"https://api.github.com/users/rkdora/followers","following_url":"https://api.github.com/users/rkdora/following{/other_user}","gists_url":"https://api.github.com/users/rkdora/gists{/gist_id}","starred_url":"https://api.github.com/users/rkdora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkdora/subscriptions","organizations_url":"https://api.github.com/users/rkdora/orgs","repos_url":"https://api.github.com/users/rkdora/repos","events_url":"https://api.github.com/users/rkdora/events{/privacy}","received_events_url":"https://api.github.com/users/rkdora/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rkdora/reserve_fp","description":null,"fork":false,"url":"https://api.github.com/repos/rkdora/reserve_fp","forks_url":"https://api.github.com/repos/rkdora/reserve_fp/forks","keys_url":"https://api.github.com/repos/rkdora/reserve_fp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkdora/reserve_fp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkdora/reserve_fp/teams","hooks_url":"https://api.github.com/repos/rkdora/reserve_fp/hooks","issue_events_url":"https://api.github.com/repos/rkdora/reserve_fp/issues/events{/number}","events_url":"https://api.github.com/repos/rkdora/reserve_fp/events","assignees_url":"https://api.github.com/repos/rkdora/reserve_fp/assignees{/user}","branches_url":"https://api.github.com/repos/rkdora/reserve_fp/branches{/branch}","tags_url":"https://api.github.com/repos/rkdora/reserve_fp/tags","blobs_url":"https://api.github.com/repos/rkdora/reserve_fp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkdora/reserve_fp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkdora/reserve_fp/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkdora/reserve_fp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkdora/reserve_fp/statuses/{sha}","languages_url":"https://api.github.com/repos/rkdora/reserve_fp/languages","stargazers_url":"https://api.github.com/repos/rkdora/reserve_fp/stargazers","contributors_url":"https://api.github.com/repos/rkdora/reserve_fp/contributors","subscribers_url":"https://api.github.com/repos/rkdora/reserve_fp/subscribers","subscription_url":"https://api.github.com/repos/rkdora/reserve_fp/subscription","commits_url":"https://api.github.com/repos/rkdora/reserve_fp/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkdora/reserve_fp/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkdora/reserve_fp/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkdora/reserve_fp/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkdora/reserve_fp/contents/{+path}","compare_url":"https://api.github.com/repos/rkdora/reserve_fp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkdora/reserve_fp/merges","archive_url":"https://api.github.com/repos/rkdora/reserve_fp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkdora/reserve_fp/downloads","issues_url":"https://api.github.com/repos/rkdora/reserve_fp/issues{/number}","pulls_url":"https://api.github.com/repos/rkdora/reserve_fp/pulls{/number}","milestones_url":"https://api.github.com/repos/rkdora/reserve_fp/milestones{/number}","notifications_url":"https://api.github.com/repos/rkdora/reserve_fp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkdora/reserve_fp/labels{/name}","releases_url":"https://api.github.com/repos/rkdora/reserve_fp/releases{/id}","deployments_url":"https://api.github.com/repos/rkdora/reserve_fp/deployments","created_at":"2018-11-02T01:58:45Z","updated_at":"2018-11-06T11:18:18Z","pushed_at":"2018-11-14T07:11:06Z","git_url":"git://github.com/rkdora/reserve_fp.git","ssh_url":"git@github.com:rkdora/reserve_fp.git","clone_url":"https://github.com/rkdora/reserve_fp.git","svn_url":"https://github.com/rkdora/reserve_fp","homepage":null,"size":149,"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":9,"license":null,"forks":0,"open_issues":9,"watchers":2,"default_branch":"master"}},"base":{"label":"rkdora:develop","ref":"develop","sha":"bc5e4b4cef7d94c02b26ad2ab847bf41b0373a1c","user":{"login":"rkdora","id":20394831,"node_id":"MDQ6VXNlcjIwMzk0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/20394831?v=4","gravatar_id":"","url":"https://api.github.com/users/rkdora","html_url":"https://github.com/rkdora","followers_url":"https://api.github.com/users/rkdora/followers","following_url":"https://api.github.com/users/rkdora/following{/other_user}","gists_url":"https://api.github.com/users/rkdora/gists{/gist_id}","starred_url":"https://api.github.com/users/rkdora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkdora/subscriptions","organizations_url":"https://api.github.com/users/rkdora/orgs","repos_url":"https://api.github.com/users/rkdora/repos","events_url":"https://api.github.com/users/rkdora/events{/privacy}","received_events_url":"https://api.github.com/users/rkdora/received_events","type":"User","site_admin":false},"repo":{"id":155800425,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU4MDA0MjU=","name":"reserve_fp","full_name":"rkdora/reserve_fp","private":false,"owner":{"login":"rkdora","id":20394831,"node_id":"MDQ6VXNlcjIwMzk0ODMx","avatar_url":"https://avatars0.githubusercontent.com/u/20394831?v=4","gravatar_id":"","url":"https://api.github.com/users/rkdora","html_url":"https://github.com/rkdora","followers_url":"https://api.github.com/users/rkdora/followers","following_url":"https://api.github.com/users/rkdora/following{/other_user}","gists_url":"https://api.github.com/users/rkdora/gists{/gist_id}","starred_url":"https://api.github.com/users/rkdora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkdora/subscriptions","organizations_url":"https://api.github.com/users/rkdora/orgs","repos_url":"https://api.github.com/users/rkdora/repos","events_url":"https://api.github.com/users/rkdora/events{/privacy}","received_events_url":"https://api.github.com/users/rkdora/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rkdora/reserve_fp","description":null,"fork":false,"url":"https://api.github.com/repos/rkdora/reserve_fp","forks_url":"https://api.github.com/repos/rkdora/reserve_fp/forks","keys_url":"https://api.github.com/repos/rkdora/reserve_fp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkdora/reserve_fp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkdora/reserve_fp/teams","hooks_url":"https://api.github.com/repos/rkdora/reserve_fp/hooks","issue_events_url":"https://api.github.com/repos/rkdora/reserve_fp/issues/events{/number}","events_url":"https://api.github.com/repos/rkdora/reserve_fp/events","assignees_url":"https://api.github.com/repos/rkdora/reserve_fp/assignees{/user}","branches_url":"https://api.github.com/repos/rkdora/reserve_fp/branches{/branch}","tags_url":"https://api.github.com/repos/rkdora/reserve_fp/tags","blobs_url":"https://api.github.com/repos/rkdora/reserve_fp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkdora/reserve_fp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkdora/reserve_fp/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkdora/reserve_fp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkdora/reserve_fp/statuses/{sha}","languages_url":"https://api.github.com/repos/rkdora/reserve_fp/languages","stargazers_url":"https://api.github.com/repos/rkdora/reserve_fp/stargazers","contributors_url":"https://api.github.com/repos/rkdora/reserve_fp/contributors","subscribers_url":"https://api.github.com/repos/rkdora/reserve_fp/subscribers","subscription_url":"https://api.github.com/repos/rkdora/reserve_fp/subscription","commits_url":"https://api.github.com/repos/rkdora/reserve_fp/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkdora/reserve_fp/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkdora/reserve_fp/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkdora/reserve_fp/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkdora/reserve_fp/contents/{+path}","compare_url":"https://api.github.com/repos/rkdora/reserve_fp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkdora/reserve_fp/merges","archive_url":"https://api.github.com/repos/rkdora/reserve_fp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkdora/reserve_fp/downloads","issues_url":"https://api.github.com/repos/rkdora/reserve_fp/issues{/number}","pulls_url":"https://api.github.com/repos/rkdora/reserve_fp/pulls{/number}","milestones_url":"https://api.github.com/repos/rkdora/reserve_fp/milestones{/number}","notifications_url":"https://api.github.com/repos/rkdora/reserve_fp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkdora/reserve_fp/labels{/name}","releases_url":"https://api.github.com/repos/rkdora/reserve_fp/releases{/id}","deployments_url":"https://api.github.com/repos/rkdora/reserve_fp/deployments","created_at":"2018-11-02T01:58:45Z","updated_at":"2018-11-06T11:18:18Z","pushed_at":"2018-11-14T07:11:06Z","git_url":"git://github.com/rkdora/reserve_fp.git","ssh_url":"git@github.com:rkdora/reserve_fp.git","clone_url":"https://github.com/rkdora/reserve_fp.git","svn_url":"https://github.com/rkdora/reserve_fp","homepage":null,"size":149,"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":9,"license":null,"forks":0,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7"},"html":{"href":"https://github.com/rkdora/reserve_fp/pull/7"},"issue":{"href":"https://api.github.com/repos/rkdora/reserve_fp/issues/7"},"comments":{"href":"https://api.github.com/repos/rkdora/reserve_fp/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/rkdora/reserve_fp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rkdora/reserve_fp/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/rkdora/reserve_fp/statuses/8bd37d529066780a6c7f66342fa4019524dfc5ca"}},"author_association":"OWNER"}}
{"actor":{"display_login":"k-nasa"}}