{"action":"created","comment":{"url":"https://api.github.com/repos/ktadano/TSO/pulls/comments/68186964","id":68186964,"diff_hunk":"@@ -1,58 +1,8 @@\n Rails.application.routes.draw do\n   root 'home#index'\n-\n-  # The priority is based upon order of creation: first created -> highest priority.\n-  # See how all your routes lay out with \"rake routes\".\n-\n-  # You can have the root of your site routed with \"root\"\n-  # root 'welcome#index'\n-\n-  # Example of regular route:\n-  #   get 'products/:id' => 'catalog#view'\n-\n-  # Example of named route that can be invoked with purchase_url(id: product.id)\n-  #   get 'products/:id/purchase' => 'catalog#purchase', as: :purchase\n-\n-  # Example resource route (maps HTTP verbs to controller actions automatically):\n-  #   resources :products\n-\n-  # Example resource route with options:\n-  #   resources :products do\n-  #     member do\n-  #       get 'short'\n-  #       post 'toggle'\n-  #     end\n-  #\n-  #     collection do\n-  #       get 'sold'\n-  #     end\n-  #   end\n-\n-  # Example resource route with sub-resources:\n-  #   resources :products do\n-  #     resources :comments, :sales\n-  #     resource :seller\n-  #   end\n-\n-  # Example resource route with more complex sub-resources:\n-  #   resources :products do\n-  #     resources :comments\n-  #     resources :sales do\n-  #       get 'recent', on: :collection\n-  #     end\n-  #   end\n-\n-  # Example resource route with concerns:\n-  #   concern :toggleable do\n-  #     post 'toggle'\n-  #   end\n-  #   resources :posts, concerns: :toggleable\n-  #   resources :photos, concerns: :toggleable\n-\n-  # Example resource route within a namespace:\n-  #   namespace :admin do\n-  #     # Directs /admin/products/* to Admin::ProductsController\n-  #     # (app/controllers/admin/products_controller.rb)\n-  #     resources :products\n-  #   end\n+  get 'signup' => 'users#new'\n+  get 'login' => 'sessions#new'\n+  post 'login' => 'sessions#create'\n+  delete 'logout' => 'sessions#destroy'\n+  resources :users, except: [:index]","path":"config/routes.rb","position":62,"original_position":62,"commit_id":"10f89e1c1033448f23b6cb3f5404e9c5ae435cc3","original_commit_id":"10f89e1c1033448f23b6cb3f5404e9c5ae435cc3","user":{"login":"vividmuimui","id":1803598,"avatar_url":"https://avatars.githubusercontent.com/u/1803598?v=3","gravatar_id":"","url":"https://api.github.com/users/vividmuimui","html_url":"https://github.com/vividmuimui","followers_url":"https://api.github.com/users/vividmuimui/followers","following_url":"https://api.github.com/users/vividmuimui/following{/other_user}","gists_url":"https://api.github.com/users/vividmuimui/gists{/gist_id}","starred_url":"https://api.github.com/users/vividmuimui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vividmuimui/subscriptions","organizations_url":"https://api.github.com/users/vividmuimui/orgs","repos_url":"https://api.github.com/users/vividmuimui/repos","events_url":"https://api.github.com/users/vividmuimui/events{/privacy}","received_events_url":"https://api.github.com/users/vividmuimui/received_events","type":"User","site_admin":false},"body":"index以外ってrouting定義されてるけど、\r\nactionの方はまだshow, new,createしか用意してないので、ほかのにアクセスされるとエラー起きちゃいますねー","created_at":"2016-06-23T07:26:15Z","updated_at":"2016-06-23T07:26:15Z","html_url":"https://github.com/ktadano/TSO/pull/6#discussion_r68186964","pull_request_url":"https://api.github.com/repos/ktadano/TSO/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/ktadano/TSO/pulls/comments/68186964"},"html":{"href":"https://github.com/ktadano/TSO/pull/6#discussion_r68186964"},"pull_request":{"href":"https://api.github.com/repos/ktadano/TSO/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/ktadano/TSO/pulls/6","id":74902966,"html_url":"https://github.com/ktadano/TSO/pull/6","diff_url":"https://github.com/ktadano/TSO/pull/6.diff","patch_url":"https://github.com/ktadano/TSO/pull/6.patch","issue_url":"https://api.github.com/repos/ktadano/TSO/issues/6","number":6,"state":"open","locked":false,"title":"[WIP]ユーザーがログインできる。","user":{"login":"ktadano","id":18254600,"avatar_url":"https://avatars.githubusercontent.com/u/18254600?v=3","gravatar_id":"","url":"https://api.github.com/users/ktadano","html_url":"https://github.com/ktadano","followers_url":"https://api.github.com/users/ktadano/followers","following_url":"https://api.github.com/users/ktadano/following{/other_user}","gists_url":"https://api.github.com/users/ktadano/gists{/gist_id}","starred_url":"https://api.github.com/users/ktadano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktadano/subscriptions","organizations_url":"https://api.github.com/users/ktadano/orgs","repos_url":"https://api.github.com/users/ktadano/repos","events_url":"https://api.github.com/users/ktadano/events{/privacy}","received_events_url":"https://api.github.com/users/ktadano/received_events","type":"User","site_admin":false},"body":"![8771a7ec4c2f9a48a10dff7f4fdfa90f](https://cloud.githubusercontent.com/assets/18254600/16293960/a0dfea3e-3958-11e6-9e0c-84e0bf428e88.png)\r\n・ログアウトはまだすることができません。\r\n　（次の作業で実装します。\r\n・全体的なページのレイアウトを後のタスクで整える予定です。\r\n　仮で設置したログインやサインアウトのリンクはこの時に\r\n　ヘッダーに移ります。\r\n・ユーザーのeditページはもっと先の実装になります。\r\nhttps://young-hollows-44509.herokuapp.com/\r\n\r\nとてもワイルドなログインページ\r\n![c8f76a23d2d00156805439154d4c3dc7](https://cloud.githubusercontent.com/assets/18254600/16294235/77faa684-395a-11e6-8aa6-ab1dcad0a8fe.png)\r\n","created_at":"2016-06-23T06:39:29Z","updated_at":"2016-06-23T07:26:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8977d561d054da383d841b4627beadc80e6fc706","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ktadano/TSO/pulls/6/commits","review_comments_url":"https://api.github.com/repos/ktadano/TSO/pulls/6/comments","review_comment_url":"https://api.github.com/repos/ktadano/TSO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ktadano/TSO/issues/6/comments","statuses_url":"https://api.github.com/repos/ktadano/TSO/statuses/10f89e1c1033448f23b6cb3f5404e9c5ae435cc3","head":{"label":"ktadano:user-login","ref":"user-login","sha":"10f89e1c1033448f23b6cb3f5404e9c5ae435cc3","user":{"login":"ktadano","id":18254600,"avatar_url":"https://avatars.githubusercontent.com/u/18254600?v=3","gravatar_id":"","url":"https://api.github.com/users/ktadano","html_url":"https://github.com/ktadano","followers_url":"https://api.github.com/users/ktadano/followers","following_url":"https://api.github.com/users/ktadano/following{/other_user}","gists_url":"https://api.github.com/users/ktadano/gists{/gist_id}","starred_url":"https://api.github.com/users/ktadano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktadano/subscriptions","organizations_url":"https://api.github.com/users/ktadano/orgs","repos_url":"https://api.github.com/users/ktadano/repos","events_url":"https://api.github.com/users/ktadano/events{/privacy}","received_events_url":"https://api.github.com/users/ktadano/received_events","type":"User","site_admin":false},"repo":{"id":61520121,"name":"TSO","full_name":"ktadano/TSO","owner":{"login":"ktadano","id":18254600,"avatar_url":"https://avatars.githubusercontent.com/u/18254600?v=3","gravatar_id":"","url":"https://api.github.com/users/ktadano","html_url":"https://github.com/ktadano","followers_url":"https://api.github.com/users/ktadano/followers","following_url":"https://api.github.com/users/ktadano/following{/other_user}","gists_url":"https://api.github.com/users/ktadano/gists{/gist_id}","starred_url":"https://api.github.com/users/ktadano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktadano/subscriptions","organizations_url":"https://api.github.com/users/ktadano/orgs","repos_url":"https://api.github.com/users/ktadano/repos","events_url":"https://api.github.com/users/ktadano/events{/privacy}","received_events_url":"https://api.github.com/users/ktadano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktadano/TSO","description":"","fork":false,"url":"https://api.github.com/repos/ktadano/TSO","forks_url":"https://api.github.com/repos/ktadano/TSO/forks","keys_url":"https://api.github.com/repos/ktadano/TSO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktadano/TSO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktadano/TSO/teams","hooks_url":"https://api.github.com/repos/ktadano/TSO/hooks","issue_events_url":"https://api.github.com/repos/ktadano/TSO/issues/events{/number}","events_url":"https://api.github.com/repos/ktadano/TSO/events","assignees_url":"https://api.github.com/repos/ktadano/TSO/assignees{/user}","branches_url":"https://api.github.com/repos/ktadano/TSO/branches{/branch}","tags_url":"https://api.github.com/repos/ktadano/TSO/tags","blobs_url":"https://api.github.com/repos/ktadano/TSO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktadano/TSO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktadano/TSO/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktadano/TSO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktadano/TSO/statuses/{sha}","languages_url":"https://api.github.com/repos/ktadano/TSO/languages","stargazers_url":"https://api.github.com/repos/ktadano/TSO/stargazers","contributors_url":"https://api.github.com/repos/ktadano/TSO/contributors","subscribers_url":"https://api.github.com/repos/ktadano/TSO/subscribers","subscription_url":"https://api.github.com/repos/ktadano/TSO/subscription","commits_url":"https://api.github.com/repos/ktadano/TSO/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktadano/TSO/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktadano/TSO/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktadano/TSO/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktadano/TSO/contents/{+path}","compare_url":"https://api.github.com/repos/ktadano/TSO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktadano/TSO/merges","archive_url":"https://api.github.com/repos/ktadano/TSO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktadano/TSO/downloads","issues_url":"https://api.github.com/repos/ktadano/TSO/issues{/number}","pulls_url":"https://api.github.com/repos/ktadano/TSO/pulls{/number}","milestones_url":"https://api.github.com/repos/ktadano/TSO/milestones{/number}","notifications_url":"https://api.github.com/repos/ktadano/TSO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktadano/TSO/labels{/name}","releases_url":"https://api.github.com/repos/ktadano/TSO/releases{/id}","deployments_url":"https://api.github.com/repos/ktadano/TSO/deployments","created_at":"2016-06-20T05:48:55Z","updated_at":"2016-06-20T06:04:45Z","pushed_at":"2016-06-23T06:39:29Z","git_url":"git://github.com/ktadano/TSO.git","ssh_url":"git@github.com:ktadano/TSO.git","clone_url":"https://github.com/ktadano/TSO.git","svn_url":"https://github.com/ktadano/TSO","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"ktadano:master","ref":"master","sha":"cbe2b7f3afbbc2587d54a9614cfb24d75fed7ebd","user":{"login":"ktadano","id":18254600,"avatar_url":"https://avatars.githubusercontent.com/u/18254600?v=3","gravatar_id":"","url":"https://api.github.com/users/ktadano","html_url":"https://github.com/ktadano","followers_url":"https://api.github.com/users/ktadano/followers","following_url":"https://api.github.com/users/ktadano/following{/other_user}","gists_url":"https://api.github.com/users/ktadano/gists{/gist_id}","starred_url":"https://api.github.com/users/ktadano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktadano/subscriptions","organizations_url":"https://api.github.com/users/ktadano/orgs","repos_url":"https://api.github.com/users/ktadano/repos","events_url":"https://api.github.com/users/ktadano/events{/privacy}","received_events_url":"https://api.github.com/users/ktadano/received_events","type":"User","site_admin":false},"repo":{"id":61520121,"name":"TSO","full_name":"ktadano/TSO","owner":{"login":"ktadano","id":18254600,"avatar_url":"https://avatars.githubusercontent.com/u/18254600?v=3","gravatar_id":"","url":"https://api.github.com/users/ktadano","html_url":"https://github.com/ktadano","followers_url":"https://api.github.com/users/ktadano/followers","following_url":"https://api.github.com/users/ktadano/following{/other_user}","gists_url":"https://api.github.com/users/ktadano/gists{/gist_id}","starred_url":"https://api.github.com/users/ktadano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktadano/subscriptions","organizations_url":"https://api.github.com/users/ktadano/orgs","repos_url":"https://api.github.com/users/ktadano/repos","events_url":"https://api.github.com/users/ktadano/events{/privacy}","received_events_url":"https://api.github.com/users/ktadano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktadano/TSO","description":"","fork":false,"url":"https://api.github.com/repos/ktadano/TSO","forks_url":"https://api.github.com/repos/ktadano/TSO/forks","keys_url":"https://api.github.com/repos/ktadano/TSO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktadano/TSO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktadano/TSO/teams","hooks_url":"https://api.github.com/repos/ktadano/TSO/hooks","issue_events_url":"https://api.github.com/repos/ktadano/TSO/issues/events{/number}","events_url":"https://api.github.com/repos/ktadano/TSO/events","assignees_url":"https://api.github.com/repos/ktadano/TSO/assignees{/user}","branches_url":"https://api.github.com/repos/ktadano/TSO/branches{/branch}","tags_url":"https://api.github.com/repos/ktadano/TSO/tags","blobs_url":"https://api.github.com/repos/ktadano/TSO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktadano/TSO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktadano/TSO/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktadano/TSO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktadano/TSO/statuses/{sha}","languages_url":"https://api.github.com/repos/ktadano/TSO/languages","stargazers_url":"https://api.github.com/repos/ktadano/TSO/stargazers","contributors_url":"https://api.github.com/repos/ktadano/TSO/contributors","subscribers_url":"https://api.github.com/repos/ktadano/TSO/subscribers","subscription_url":"https://api.github.com/repos/ktadano/TSO/subscription","commits_url":"https://api.github.com/repos/ktadano/TSO/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktadano/TSO/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktadano/TSO/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktadano/TSO/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktadano/TSO/contents/{+path}","compare_url":"https://api.github.com/repos/ktadano/TSO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktadano/TSO/merges","archive_url":"https://api.github.com/repos/ktadano/TSO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktadano/TSO/downloads","issues_url":"https://api.github.com/repos/ktadano/TSO/issues{/number}","pulls_url":"https://api.github.com/repos/ktadano/TSO/pulls{/number}","milestones_url":"https://api.github.com/repos/ktadano/TSO/milestones{/number}","notifications_url":"https://api.github.com/repos/ktadano/TSO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktadano/TSO/labels{/name}","releases_url":"https://api.github.com/repos/ktadano/TSO/releases{/id}","deployments_url":"https://api.github.com/repos/ktadano/TSO/deployments","created_at":"2016-06-20T05:48:55Z","updated_at":"2016-06-20T06:04:45Z","pushed_at":"2016-06-23T06:39:29Z","git_url":"git://github.com/ktadano/TSO.git","ssh_url":"git@github.com:ktadano/TSO.git","clone_url":"https://github.com/ktadano/TSO.git","svn_url":"https://github.com/ktadano/TSO","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ktadano/TSO/pulls/6"},"html":{"href":"https://github.com/ktadano/TSO/pull/6"},"issue":{"href":"https://api.github.com/repos/ktadano/TSO/issues/6"},"comments":{"href":"https://api.github.com/repos/ktadano/TSO/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/ktadano/TSO/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/ktadano/TSO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ktadano/TSO/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/ktadano/TSO/statuses/10f89e1c1033448f23b6cb3f5404e9c5ae435cc3"}}}}
{"actor":{"display_login":"vividmuimui"}}