{"action":"created","comment":{"url":"https://api.github.com/repos/araken39/protospace/pulls/comments/56779392","id":56779392,"diff_hunk":"@@ -1,10 +1,8 @@\n Rails.application.routes.draw do\n   devise_for :users\n   root 'prototypes#index'\n-\n   resources :users, only: :show do\n-    resources :prototypes, only: [:edit, :destroy]\n+    resources :prototypes, except: :show","path":"config/routes.rb","position":null,"original_position":7,"commit_id":"f3aeedcfc70ef4c31a54ec6c48624dd28739144a","original_commit_id":"00b3da8d769856ca4aab8bf980621ed618f03b93","user":{"login":"tatsuki-m","id":11342275,"avatar_url":"https://avatars.githubusercontent.com/u/11342275?v=3","gravatar_id":"","url":"https://api.github.com/users/tatsuki-m","html_url":"https://github.com/tatsuki-m","followers_url":"https://api.github.com/users/tatsuki-m/followers","following_url":"https://api.github.com/users/tatsuki-m/following{/other_user}","gists_url":"https://api.github.com/users/tatsuki-m/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsuki-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsuki-m/subscriptions","organizations_url":"https://api.github.com/users/tatsuki-m/orgs","repos_url":"https://api.github.com/users/tatsuki-m/repos","events_url":"https://api.github.com/users/tatsuki-m/events{/privacy}","received_events_url":"https://api.github.com/users/tatsuki-m/received_events","type":"User","site_admin":false},"body":"ネストする意味があるのかな〜って思いますね。\r\n\r\n確かにprototypeはuserとは紐付いてはいますが、\r\n取得の際には、idを指定すれば対象物を取得できますし、\r\ndeleteやeditの際には、viewでの制約によってそのボタンを表示しないようにすればいいだけなので、ネストすることもないかなとは思います！","created_at":"2016-03-21T03:01:57Z","updated_at":"2016-03-21T03:01:57Z","html_url":"https://github.com/araken39/protospace/pull/10#discussion_r56779392","pull_request_url":"https://api.github.com/repos/araken39/protospace/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/araken39/protospace/pulls/comments/56779392"},"html":{"href":"https://github.com/araken39/protospace/pull/10#discussion_r56779392"},"pull_request":{"href":"https://api.github.com/repos/araken39/protospace/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/araken39/protospace/pulls/10","id":62988394,"html_url":"https://github.com/araken39/protospace/pull/10","diff_url":"https://github.com/araken39/protospace/pull/10.diff","patch_url":"https://github.com/araken39/protospace/pull/10.patch","issue_url":"https://api.github.com/repos/araken39/protospace/issues/10","number":10,"state":"open","locked":false,"title":"Add edit and delete function","user":{"login":"araken39","id":11254615,"avatar_url":"https://avatars.githubusercontent.com/u/11254615?v=3","gravatar_id":"","url":"https://api.github.com/users/araken39","html_url":"https://github.com/araken39","followers_url":"https://api.github.com/users/araken39/followers","following_url":"https://api.github.com/users/araken39/following{/other_user}","gists_url":"https://api.github.com/users/araken39/gists{/gist_id}","starred_url":"https://api.github.com/users/araken39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araken39/subscriptions","organizations_url":"https://api.github.com/users/araken39/orgs","repos_url":"https://api.github.com/users/araken39/repos","events_url":"https://api.github.com/users/araken39/events{/privacy}","received_events_url":"https://api.github.com/users/araken39/received_events","type":"User","site_admin":false},"body":"# What\r\nルーティング〜ビューまで追加\r\n\r\n# Why \r\n編集削除機能の追加のため","created_at":"2016-03-15T22:36:10Z","updated_at":"2016-03-21T03:01:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27aa90855cd46ebde63adcaa1b228b8a83edb11d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/araken39/protospace/pulls/10/commits","review_comments_url":"https://api.github.com/repos/araken39/protospace/pulls/10/comments","review_comment_url":"https://api.github.com/repos/araken39/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/araken39/protospace/issues/10/comments","statuses_url":"https://api.github.com/repos/araken39/protospace/statuses/f3aeedcfc70ef4c31a54ec6c48624dd28739144a","head":{"label":"araken39:add_edit_and_delete_function","ref":"add_edit_and_delete_function","sha":"f3aeedcfc70ef4c31a54ec6c48624dd28739144a","user":{"login":"araken39","id":11254615,"avatar_url":"https://avatars.githubusercontent.com/u/11254615?v=3","gravatar_id":"","url":"https://api.github.com/users/araken39","html_url":"https://github.com/araken39","followers_url":"https://api.github.com/users/araken39/followers","following_url":"https://api.github.com/users/araken39/following{/other_user}","gists_url":"https://api.github.com/users/araken39/gists{/gist_id}","starred_url":"https://api.github.com/users/araken39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araken39/subscriptions","organizations_url":"https://api.github.com/users/araken39/orgs","repos_url":"https://api.github.com/users/araken39/repos","events_url":"https://api.github.com/users/araken39/events{/privacy}","received_events_url":"https://api.github.com/users/araken39/received_events","type":"User","site_admin":false},"repo":{"id":50702315,"name":"protospace","full_name":"araken39/protospace","owner":{"login":"araken39","id":11254615,"avatar_url":"https://avatars.githubusercontent.com/u/11254615?v=3","gravatar_id":"","url":"https://api.github.com/users/araken39","html_url":"https://github.com/araken39","followers_url":"https://api.github.com/users/araken39/followers","following_url":"https://api.github.com/users/araken39/following{/other_user}","gists_url":"https://api.github.com/users/araken39/gists{/gist_id}","starred_url":"https://api.github.com/users/araken39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araken39/subscriptions","organizations_url":"https://api.github.com/users/araken39/orgs","repos_url":"https://api.github.com/users/araken39/repos","events_url":"https://api.github.com/users/araken39/events{/privacy}","received_events_url":"https://api.github.com/users/araken39/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/araken39/protospace","description":"","fork":false,"url":"https://api.github.com/repos/araken39/protospace","forks_url":"https://api.github.com/repos/araken39/protospace/forks","keys_url":"https://api.github.com/repos/araken39/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/araken39/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/araken39/protospace/teams","hooks_url":"https://api.github.com/repos/araken39/protospace/hooks","issue_events_url":"https://api.github.com/repos/araken39/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/araken39/protospace/events","assignees_url":"https://api.github.com/repos/araken39/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/araken39/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/araken39/protospace/tags","blobs_url":"https://api.github.com/repos/araken39/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/araken39/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/araken39/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/araken39/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/araken39/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/araken39/protospace/languages","stargazers_url":"https://api.github.com/repos/araken39/protospace/stargazers","contributors_url":"https://api.github.com/repos/araken39/protospace/contributors","subscribers_url":"https://api.github.com/repos/araken39/protospace/subscribers","subscription_url":"https://api.github.com/repos/araken39/protospace/subscription","commits_url":"https://api.github.com/repos/araken39/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/araken39/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/araken39/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/araken39/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/araken39/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/araken39/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/araken39/protospace/merges","archive_url":"https://api.github.com/repos/araken39/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/araken39/protospace/downloads","issues_url":"https://api.github.com/repos/araken39/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/araken39/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/araken39/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/araken39/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/araken39/protospace/labels{/name}","releases_url":"https://api.github.com/repos/araken39/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/araken39/protospace/deployments","created_at":"2016-01-30T01:18:06Z","updated_at":"2016-02-01T12:05:25Z","pushed_at":"2016-03-20T20:18:21Z","git_url":"git://github.com/araken39/protospace.git","ssh_url":"git@github.com:araken39/protospace.git","clone_url":"https://github.com/araken39/protospace.git","svn_url":"https://github.com/araken39/protospace","homepage":null,"size":826,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"araken39:master","ref":"master","sha":"a2d05a5a45b1417552a2bdc67cdbd0e70c1152a4","user":{"login":"araken39","id":11254615,"avatar_url":"https://avatars.githubusercontent.com/u/11254615?v=3","gravatar_id":"","url":"https://api.github.com/users/araken39","html_url":"https://github.com/araken39","followers_url":"https://api.github.com/users/araken39/followers","following_url":"https://api.github.com/users/araken39/following{/other_user}","gists_url":"https://api.github.com/users/araken39/gists{/gist_id}","starred_url":"https://api.github.com/users/araken39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araken39/subscriptions","organizations_url":"https://api.github.com/users/araken39/orgs","repos_url":"https://api.github.com/users/araken39/repos","events_url":"https://api.github.com/users/araken39/events{/privacy}","received_events_url":"https://api.github.com/users/araken39/received_events","type":"User","site_admin":false},"repo":{"id":50702315,"name":"protospace","full_name":"araken39/protospace","owner":{"login":"araken39","id":11254615,"avatar_url":"https://avatars.githubusercontent.com/u/11254615?v=3","gravatar_id":"","url":"https://api.github.com/users/araken39","html_url":"https://github.com/araken39","followers_url":"https://api.github.com/users/araken39/followers","following_url":"https://api.github.com/users/araken39/following{/other_user}","gists_url":"https://api.github.com/users/araken39/gists{/gist_id}","starred_url":"https://api.github.com/users/araken39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araken39/subscriptions","organizations_url":"https://api.github.com/users/araken39/orgs","repos_url":"https://api.github.com/users/araken39/repos","events_url":"https://api.github.com/users/araken39/events{/privacy}","received_events_url":"https://api.github.com/users/araken39/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/araken39/protospace","description":"","fork":false,"url":"https://api.github.com/repos/araken39/protospace","forks_url":"https://api.github.com/repos/araken39/protospace/forks","keys_url":"https://api.github.com/repos/araken39/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/araken39/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/araken39/protospace/teams","hooks_url":"https://api.github.com/repos/araken39/protospace/hooks","issue_events_url":"https://api.github.com/repos/araken39/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/araken39/protospace/events","assignees_url":"https://api.github.com/repos/araken39/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/araken39/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/araken39/protospace/tags","blobs_url":"https://api.github.com/repos/araken39/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/araken39/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/araken39/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/araken39/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/araken39/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/araken39/protospace/languages","stargazers_url":"https://api.github.com/repos/araken39/protospace/stargazers","contributors_url":"https://api.github.com/repos/araken39/protospace/contributors","subscribers_url":"https://api.github.com/repos/araken39/protospace/subscribers","subscription_url":"https://api.github.com/repos/araken39/protospace/subscription","commits_url":"https://api.github.com/repos/araken39/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/araken39/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/araken39/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/araken39/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/araken39/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/araken39/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/araken39/protospace/merges","archive_url":"https://api.github.com/repos/araken39/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/araken39/protospace/downloads","issues_url":"https://api.github.com/repos/araken39/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/araken39/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/araken39/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/araken39/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/araken39/protospace/labels{/name}","releases_url":"https://api.github.com/repos/araken39/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/araken39/protospace/deployments","created_at":"2016-01-30T01:18:06Z","updated_at":"2016-02-01T12:05:25Z","pushed_at":"2016-03-20T20:18:21Z","git_url":"git://github.com/araken39/protospace.git","ssh_url":"git@github.com:araken39/protospace.git","clone_url":"https://github.com/araken39/protospace.git","svn_url":"https://github.com/araken39/protospace","homepage":null,"size":826,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/araken39/protospace/pulls/10"},"html":{"href":"https://github.com/araken39/protospace/pull/10"},"issue":{"href":"https://api.github.com/repos/araken39/protospace/issues/10"},"comments":{"href":"https://api.github.com/repos/araken39/protospace/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/araken39/protospace/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/araken39/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/araken39/protospace/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/araken39/protospace/statuses/f3aeedcfc70ef4c31a54ec6c48624dd28739144a"}}}}