{"action":"created","comment":{"url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/comments/51897682","id":51897682,"diff_hunk":"@@ -18,14 +18,18 @@\n   - if @meeting.content\n     = @meeting.render_content.html_safe\n   %h2 登録プレゼンテーション一覧\n+  - if @current_user.has_privilege?(:presentation_orders, :create)\n+    = link_to 'プレゼンテーション順を調整', meeting_presentation_orders_path(@meeting), class: 'button'","path":"app/views/meetings/show.html.haml","position":5,"original_position":5,"commit_id":"3fce27b14dd7266571a610553b6b5eb612f45acb","original_commit_id":"3fce27b14dd7266571a610553b6b5eb612f45acb","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [90/80]","created_at":"2016-02-04T16:30:37Z","updated_at":"2016-02-04T16:30:37Z","html_url":"https://github.com/sfc-rg/rg-portal/pull/130#discussion_r51897682","pull_request_url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/comments/51897682"},"html":{"href":"https://github.com/sfc-rg/rg-portal/pull/130#discussion_r51897682"},"pull_request":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130","id":58311722,"html_url":"https://github.com/sfc-rg/rg-portal/pull/130","diff_url":"https://github.com/sfc-rg/rg-portal/pull/130.diff","patch_url":"https://github.com/sfc-rg/rg-portal/pull/130.patch","issue_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues/130","number":130,"state":"open","locked":false,"title":"プレゼンテーションの順番を決めるコントローラを作成","user":{"login":"demmys","id":2297122,"avatar_url":"https://avatars.githubusercontent.com/u/2297122?v=3","gravatar_id":"","url":"https://api.github.com/users/demmys","html_url":"https://github.com/demmys","followers_url":"https://api.github.com/users/demmys/followers","following_url":"https://api.github.com/users/demmys/following{/other_user}","gists_url":"https://api.github.com/users/demmys/gists{/gist_id}","starred_url":"https://api.github.com/users/demmys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demmys/subscriptions","organizations_url":"https://api.github.com/users/demmys/orgs","repos_url":"https://api.github.com/users/demmys/repos","events_url":"https://api.github.com/users/demmys/events{/privacy}","received_events_url":"https://api.github.com/users/demmys/received_events","type":"User","site_admin":false},"body":"「プレゼンテーション順を調整」ボタンから調整に入れる\r\n![2016-02-05 1 28 12](https://cloud.githubusercontent.com/assets/2297122/12821695/cc80eff4-cba7-11e5-9143-17b4682988c8.png)\r\n\r\nドロップダウンで順番を選ぶ。randomにすると残っている数字からランダムな順番になる。\r\n![2016-02-05 1 28 23](https://cloud.githubusercontent.com/assets/2297122/12821697/cf0044d2-cba7-11e5-82a7-3c63b16e0031.png)\r\n\r\nこの操作を行うためにはpresentation_orders#createの権限が必要","created_at":"2016-02-04T16:30:00Z","updated_at":"2016-02-04T16:30:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db0e7dcab5a3df47e05778c27ac293d0340b471c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130/commits","review_comments_url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130/comments","review_comment_url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues/130/comments","statuses_url":"https://api.github.com/repos/sfc-rg/rg-portal/statuses/3fce27b14dd7266571a610553b6b5eb612f45acb","head":{"label":"sfc-rg:presentation_order","ref":"presentation_order","sha":"3fce27b14dd7266571a610553b6b5eb612f45acb","user":{"login":"sfc-rg","id":13977529,"avatar_url":"https://avatars.githubusercontent.com/u/13977529?v=3","gravatar_id":"","url":"https://api.github.com/users/sfc-rg","html_url":"https://github.com/sfc-rg","followers_url":"https://api.github.com/users/sfc-rg/followers","following_url":"https://api.github.com/users/sfc-rg/following{/other_user}","gists_url":"https://api.github.com/users/sfc-rg/gists{/gist_id}","starred_url":"https://api.github.com/users/sfc-rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfc-rg/subscriptions","organizations_url":"https://api.github.com/users/sfc-rg/orgs","repos_url":"https://api.github.com/users/sfc-rg/repos","events_url":"https://api.github.com/users/sfc-rg/events{/privacy}","received_events_url":"https://api.github.com/users/sfc-rg/received_events","type":"Organization","site_admin":false},"repo":{"id":37115426,"name":"rg-portal","full_name":"sfc-rg/rg-portal","owner":{"login":"sfc-rg","id":13977529,"avatar_url":"https://avatars.githubusercontent.com/u/13977529?v=3","gravatar_id":"","url":"https://api.github.com/users/sfc-rg","html_url":"https://github.com/sfc-rg","followers_url":"https://api.github.com/users/sfc-rg/followers","following_url":"https://api.github.com/users/sfc-rg/following{/other_user}","gists_url":"https://api.github.com/users/sfc-rg/gists{/gist_id}","starred_url":"https://api.github.com/users/sfc-rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfc-rg/subscriptions","organizations_url":"https://api.github.com/users/sfc-rg/orgs","repos_url":"https://api.github.com/users/sfc-rg/repos","events_url":"https://api.github.com/users/sfc-rg/events{/privacy}","received_events_url":"https://api.github.com/users/sfc-rg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfc-rg/rg-portal","description":"Internal Website for Keio Univ. Technology joint research groups","fork":false,"url":"https://api.github.com/repos/sfc-rg/rg-portal","forks_url":"https://api.github.com/repos/sfc-rg/rg-portal/forks","keys_url":"https://api.github.com/repos/sfc-rg/rg-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfc-rg/rg-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfc-rg/rg-portal/teams","hooks_url":"https://api.github.com/repos/sfc-rg/rg-portal/hooks","issue_events_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sfc-rg/rg-portal/events","assignees_url":"https://api.github.com/repos/sfc-rg/rg-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sfc-rg/rg-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sfc-rg/rg-portal/tags","blobs_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfc-rg/rg-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sfc-rg/rg-portal/languages","stargazers_url":"https://api.github.com/repos/sfc-rg/rg-portal/stargazers","contributors_url":"https://api.github.com/repos/sfc-rg/rg-portal/contributors","subscribers_url":"https://api.github.com/repos/sfc-rg/rg-portal/subscribers","subscription_url":"https://api.github.com/repos/sfc-rg/rg-portal/subscription","commits_url":"https://api.github.com/repos/sfc-rg/rg-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfc-rg/rg-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfc-rg/rg-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sfc-rg/rg-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfc-rg/rg-portal/merges","archive_url":"https://api.github.com/repos/sfc-rg/rg-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfc-rg/rg-portal/downloads","issues_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sfc-rg/rg-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sfc-rg/rg-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfc-rg/rg-portal/labels{/name}","releases_url":"https://api.github.com/repos/sfc-rg/rg-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sfc-rg/rg-portal/deployments","created_at":"2015-06-09T06:49:45Z","updated_at":"2016-01-17T16:01:38Z","pushed_at":"2016-02-04T16:30:00Z","git_url":"git://github.com/sfc-rg/rg-portal.git","ssh_url":"git@github.com:sfc-rg/rg-portal.git","clone_url":"https://github.com/sfc-rg/rg-portal.git","svn_url":"https://github.com/sfc-rg/rg-portal","homepage":"http://portal.gw.sfc.wide.ad.jp/","size":417,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":18,"forks":2,"open_issues":18,"watchers":6,"default_branch":"master"}},"base":{"label":"sfc-rg:master","ref":"master","sha":"946946ea429daaa74b7ec786f98d8a3ffb8ac232","user":{"login":"sfc-rg","id":13977529,"avatar_url":"https://avatars.githubusercontent.com/u/13977529?v=3","gravatar_id":"","url":"https://api.github.com/users/sfc-rg","html_url":"https://github.com/sfc-rg","followers_url":"https://api.github.com/users/sfc-rg/followers","following_url":"https://api.github.com/users/sfc-rg/following{/other_user}","gists_url":"https://api.github.com/users/sfc-rg/gists{/gist_id}","starred_url":"https://api.github.com/users/sfc-rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfc-rg/subscriptions","organizations_url":"https://api.github.com/users/sfc-rg/orgs","repos_url":"https://api.github.com/users/sfc-rg/repos","events_url":"https://api.github.com/users/sfc-rg/events{/privacy}","received_events_url":"https://api.github.com/users/sfc-rg/received_events","type":"Organization","site_admin":false},"repo":{"id":37115426,"name":"rg-portal","full_name":"sfc-rg/rg-portal","owner":{"login":"sfc-rg","id":13977529,"avatar_url":"https://avatars.githubusercontent.com/u/13977529?v=3","gravatar_id":"","url":"https://api.github.com/users/sfc-rg","html_url":"https://github.com/sfc-rg","followers_url":"https://api.github.com/users/sfc-rg/followers","following_url":"https://api.github.com/users/sfc-rg/following{/other_user}","gists_url":"https://api.github.com/users/sfc-rg/gists{/gist_id}","starred_url":"https://api.github.com/users/sfc-rg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfc-rg/subscriptions","organizations_url":"https://api.github.com/users/sfc-rg/orgs","repos_url":"https://api.github.com/users/sfc-rg/repos","events_url":"https://api.github.com/users/sfc-rg/events{/privacy}","received_events_url":"https://api.github.com/users/sfc-rg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfc-rg/rg-portal","description":"Internal Website for Keio Univ. Technology joint research groups","fork":false,"url":"https://api.github.com/repos/sfc-rg/rg-portal","forks_url":"https://api.github.com/repos/sfc-rg/rg-portal/forks","keys_url":"https://api.github.com/repos/sfc-rg/rg-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfc-rg/rg-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfc-rg/rg-portal/teams","hooks_url":"https://api.github.com/repos/sfc-rg/rg-portal/hooks","issue_events_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues/events{/number}","events_url":"https://api.github.com/repos/sfc-rg/rg-portal/events","assignees_url":"https://api.github.com/repos/sfc-rg/rg-portal/assignees{/user}","branches_url":"https://api.github.com/repos/sfc-rg/rg-portal/branches{/branch}","tags_url":"https://api.github.com/repos/sfc-rg/rg-portal/tags","blobs_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfc-rg/rg-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/sfc-rg/rg-portal/languages","stargazers_url":"https://api.github.com/repos/sfc-rg/rg-portal/stargazers","contributors_url":"https://api.github.com/repos/sfc-rg/rg-portal/contributors","subscribers_url":"https://api.github.com/repos/sfc-rg/rg-portal/subscribers","subscription_url":"https://api.github.com/repos/sfc-rg/rg-portal/subscription","commits_url":"https://api.github.com/repos/sfc-rg/rg-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfc-rg/rg-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfc-rg/rg-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfc-rg/rg-portal/contents/{+path}","compare_url":"https://api.github.com/repos/sfc-rg/rg-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfc-rg/rg-portal/merges","archive_url":"https://api.github.com/repos/sfc-rg/rg-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfc-rg/rg-portal/downloads","issues_url":"https://api.github.com/repos/sfc-rg/rg-portal/issues{/number}","pulls_url":"https://api.github.com/repos/sfc-rg/rg-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/sfc-rg/rg-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/sfc-rg/rg-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfc-rg/rg-portal/labels{/name}","releases_url":"https://api.github.com/repos/sfc-rg/rg-portal/releases{/id}","deployments_url":"https://api.github.com/repos/sfc-rg/rg-portal/deployments","created_at":"2015-06-09T06:49:45Z","updated_at":"2016-01-17T16:01:38Z","pushed_at":"2016-02-04T16:30:00Z","git_url":"git://github.com/sfc-rg/rg-portal.git","ssh_url":"git@github.com:sfc-rg/rg-portal.git","clone_url":"https://github.com/sfc-rg/rg-portal.git","svn_url":"https://github.com/sfc-rg/rg-portal","homepage":"http://portal.gw.sfc.wide.ad.jp/","size":417,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":18,"forks":2,"open_issues":18,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130"},"html":{"href":"https://github.com/sfc-rg/rg-portal/pull/130"},"issue":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/issues/130"},"comments":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/sfc-rg/rg-portal/statuses/3fce27b14dd7266571a610553b6b5eb612f45acb"}}}}