{"action":"created","comment":{"url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments/61682965","id":61682965,"diff_hunk":"@@ -0,0 +1,32 @@\n+class Api::EvideosController < ApplicationController\n+    def index\n+        @evideos = Evideo.order(created_at: :desc).includes(:tags).page(params[:page]).per(18)\n+\n+        # Jbuilder.encode do |json|\n+        #     json.response do\n+        #         json.paginator do\n+        #             json.has_next !@evideos.last_page? ? true : false\n+        #         end\n+\n+        #         json.evideos do\n+        #             json.array! @evideos do |evideo|\n+        #                 json.(evideo, :id, :title, :word, :category, :editable, :instant, :level, :playtime, :view, :youtube)\n+        #             end\n+        #         end\n+        #     end\n+        # end\n+    end\n+\n+    def category\n+        @evideos = Evideo.where(category: params[:category]).includes(:tags).order(created_at: :desc).page(params[:page]).per(18)\n+    end\n+\n+    def show\n+        @evideo = Evideo.find(params[:id])\n+        @timedtexts = Timedtext.where(evideoid: @evideo.id).order_by(start: 'asc')","path":"app/controllers/api/evideos_controller.rb","position":26,"original_position":26,"commit_id":"c51c79a9bd06a960ed5d4b5aeef866484f6a6b5c","original_commit_id":"c51c79a9bd06a960ed5d4b5aeef866484f6a6b5c","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"body":"__[rubocop]__\n* Line is too long. [82/80] [:ref](https://github.com/bbatsov/ruby-style-guide#80-character-limits)","created_at":"2016-05-01T07:39:48Z","updated_at":"2016-05-01T07:39:48Z","html_url":"https://github.com/hyde2able/TsuiMana/pull/113#discussion_r61682965","pull_request_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments/61682965"},"html":{"href":"https://github.com/hyde2able/TsuiMana/pull/113#discussion_r61682965"},"pull_request":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113","id":68489733,"html_url":"https://github.com/hyde2able/TsuiMana/pull/113","diff_url":"https://github.com/hyde2able/TsuiMana/pull/113.diff","patch_url":"https://github.com/hyde2able/TsuiMana/pull/113.patch","issue_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/113","number":113,"state":"open","locked":false,"title":"変更反映","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-01T07:34:33Z","updated_at":"2016-05-01T07:39:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113/commits","review_comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113/comments","review_comment_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/113/comments","statuses_url":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/c51c79a9bd06a960ed5d4b5aeef866484f6a6b5c","head":{"label":"hyde2able:develop","ref":"develop","sha":"c51c79a9bd06a960ed5d4b5aeef866484f6a6b5c","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"repo":{"id":46860235,"name":"TsuiMana","full_name":"hyde2able/TsuiMana","owner":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hyde2able/TsuiMana","description":"英語学習に役立つ動画のプラットフォーム（がんばるぞー）","fork":false,"url":"https://api.github.com/repos/hyde2able/TsuiMana","forks_url":"https://api.github.com/repos/hyde2able/TsuiMana/forks","keys_url":"https://api.github.com/repos/hyde2able/TsuiMana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyde2able/TsuiMana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyde2able/TsuiMana/teams","hooks_url":"https://api.github.com/repos/hyde2able/TsuiMana/hooks","issue_events_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/events{/number}","events_url":"https://api.github.com/repos/hyde2able/TsuiMana/events","assignees_url":"https://api.github.com/repos/hyde2able/TsuiMana/assignees{/user}","branches_url":"https://api.github.com/repos/hyde2able/TsuiMana/branches{/branch}","tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/tags","blobs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/{sha}","languages_url":"https://api.github.com/repos/hyde2able/TsuiMana/languages","stargazers_url":"https://api.github.com/repos/hyde2able/TsuiMana/stargazers","contributors_url":"https://api.github.com/repos/hyde2able/TsuiMana/contributors","subscribers_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscribers","subscription_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscription","commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyde2able/TsuiMana/contents/{+path}","compare_url":"https://api.github.com/repos/hyde2able/TsuiMana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyde2able/TsuiMana/merges","archive_url":"https://api.github.com/repos/hyde2able/TsuiMana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyde2able/TsuiMana/downloads","issues_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues{/number}","pulls_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls{/number}","milestones_url":"https://api.github.com/repos/hyde2able/TsuiMana/milestones{/number}","notifications_url":"https://api.github.com/repos/hyde2able/TsuiMana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyde2able/TsuiMana/labels{/name}","releases_url":"https://api.github.com/repos/hyde2able/TsuiMana/releases{/id}","deployments_url":"https://api.github.com/repos/hyde2able/TsuiMana/deployments","created_at":"2015-11-25T12:27:49Z","updated_at":"2016-04-24T17:51:15Z","pushed_at":"2016-05-01T07:35:56Z","git_url":"git://github.com/hyde2able/TsuiMana.git","ssh_url":"git@github.com:hyde2able/TsuiMana.git","clone_url":"https://github.com/hyde2able/TsuiMana.git","svn_url":"https://github.com/hyde2able/TsuiMana","homepage":"http://www.tsuimana.com","size":13123,"stargazers_count":5,"watchers_count":5,"language":"Groff","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":5,"default_branch":"master"}},"base":{"label":"hyde2able:master","ref":"master","sha":"cd0eb9260487237288d242687c537c8876e6caa7","user":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"repo":{"id":46860235,"name":"TsuiMana","full_name":"hyde2able/TsuiMana","owner":{"login":"hyde2able","id":11733664,"avatar_url":"https://avatars.githubusercontent.com/u/11733664?v=3","gravatar_id":"","url":"https://api.github.com/users/hyde2able","html_url":"https://github.com/hyde2able","followers_url":"https://api.github.com/users/hyde2able/followers","following_url":"https://api.github.com/users/hyde2able/following{/other_user}","gists_url":"https://api.github.com/users/hyde2able/gists{/gist_id}","starred_url":"https://api.github.com/users/hyde2able/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyde2able/subscriptions","organizations_url":"https://api.github.com/users/hyde2able/orgs","repos_url":"https://api.github.com/users/hyde2able/repos","events_url":"https://api.github.com/users/hyde2able/events{/privacy}","received_events_url":"https://api.github.com/users/hyde2able/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hyde2able/TsuiMana","description":"英語学習に役立つ動画のプラットフォーム（がんばるぞー）","fork":false,"url":"https://api.github.com/repos/hyde2able/TsuiMana","forks_url":"https://api.github.com/repos/hyde2able/TsuiMana/forks","keys_url":"https://api.github.com/repos/hyde2able/TsuiMana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyde2able/TsuiMana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyde2able/TsuiMana/teams","hooks_url":"https://api.github.com/repos/hyde2able/TsuiMana/hooks","issue_events_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/events{/number}","events_url":"https://api.github.com/repos/hyde2able/TsuiMana/events","assignees_url":"https://api.github.com/repos/hyde2able/TsuiMana/assignees{/user}","branches_url":"https://api.github.com/repos/hyde2able/TsuiMana/branches{/branch}","tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/tags","blobs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/{sha}","languages_url":"https://api.github.com/repos/hyde2able/TsuiMana/languages","stargazers_url":"https://api.github.com/repos/hyde2able/TsuiMana/stargazers","contributors_url":"https://api.github.com/repos/hyde2able/TsuiMana/contributors","subscribers_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscribers","subscription_url":"https://api.github.com/repos/hyde2able/TsuiMana/subscription","commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyde2able/TsuiMana/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyde2able/TsuiMana/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyde2able/TsuiMana/contents/{+path}","compare_url":"https://api.github.com/repos/hyde2able/TsuiMana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyde2able/TsuiMana/merges","archive_url":"https://api.github.com/repos/hyde2able/TsuiMana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyde2able/TsuiMana/downloads","issues_url":"https://api.github.com/repos/hyde2able/TsuiMana/issues{/number}","pulls_url":"https://api.github.com/repos/hyde2able/TsuiMana/pulls{/number}","milestones_url":"https://api.github.com/repos/hyde2able/TsuiMana/milestones{/number}","notifications_url":"https://api.github.com/repos/hyde2able/TsuiMana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyde2able/TsuiMana/labels{/name}","releases_url":"https://api.github.com/repos/hyde2able/TsuiMana/releases{/id}","deployments_url":"https://api.github.com/repos/hyde2able/TsuiMana/deployments","created_at":"2015-11-25T12:27:49Z","updated_at":"2016-04-24T17:51:15Z","pushed_at":"2016-05-01T07:35:56Z","git_url":"git://github.com/hyde2able/TsuiMana.git","ssh_url":"git@github.com:hyde2able/TsuiMana.git","clone_url":"https://github.com/hyde2able/TsuiMana.git","svn_url":"https://github.com/hyde2able/TsuiMana","homepage":"http://www.tsuimana.com","size":13123,"stargazers_count":5,"watchers_count":5,"language":"Groff","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113"},"html":{"href":"https://github.com/hyde2able/TsuiMana/pull/113"},"issue":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/issues/113"},"comments":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/hyde2able/TsuiMana/statuses/c51c79a9bd06a960ed5d4b5aeef866484f6a6b5c"}}}}