{"action":"created","comment":{"url":"https://api.github.com/repos/0xk175un3/flashcards/pulls/comments/154527673","pull_request_review_id":80704842,"id":154527673,"diff_hunk":"@@ -1,2 +1,26 @@\n class HomeController < ApplicationController\n+  \n+  def index\n+    @card = Card.not_reviewed.first\n+  end\n+\n+  def check_translation\n+    inputed_text = params[:translated_text][\"inputed_text\"]\n+    card_id = params[:translated_text][\"card_id\"]\n+    current_card = Card.find(card_id)\n+    translated_text = current_card.translated_text\n+    ","path":"app/controllers/home_controller.rb","position":12,"original_position":12,"commit_id":"078ff34f3a48fce18148b2b78d4eb21fbcc65cf7","original_commit_id":"078ff34f3a48fce18148b2b78d4eb21fbcc65cf7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Trailing whitespace detected.","created_at":"2017-12-03T15:50:04Z","updated_at":"2017-12-03T15:50:04Z","html_url":"https://github.com/0xk175un3/flashcards/pull/5#discussion_r154527673","pull_request_url":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/0xk175un3/flashcards/pulls/comments/154527673"},"html":{"href":"https://github.com/0xk175un3/flashcards/pull/5#discussion_r154527673"},"pull_request":{"href":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5","id":156066312,"html_url":"https://github.com/0xk175un3/flashcards/pull/5","diff_url":"https://github.com/0xk175un3/flashcards/pull/5.diff","patch_url":"https://github.com/0xk175un3/flashcards/pull/5.patch","issue_url":"https://api.github.com/repos/0xk175un3/flashcards/issues/5","number":5,"state":"open","locked":false,"title":"Task 5","user":{"login":"0xk175un3","id":23155143,"avatar_url":"https://avatars1.githubusercontent.com/u/23155143?v=4","gravatar_id":"","url":"https://api.github.com/users/0xk175un3","html_url":"https://github.com/0xk175un3","followers_url":"https://api.github.com/users/0xk175un3/followers","following_url":"https://api.github.com/users/0xk175un3/following{/other_user}","gists_url":"https://api.github.com/users/0xk175un3/gists{/gist_id}","starred_url":"https://api.github.com/users/0xk175un3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xk175un3/subscriptions","organizations_url":"https://api.github.com/users/0xk175un3/orgs","repos_url":"https://api.github.com/users/0xk175un3/repos","events_url":"https://api.github.com/users/0xk175un3/events{/privacy}","received_events_url":"https://api.github.com/users/0xk175un3/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-03T15:49:54Z","updated_at":"2017-12-03T15:50:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"364ff843ca0664d93a06ef1115a19f78c8763cd4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5/commits","review_comments_url":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5/comments","review_comment_url":"https://api.github.com/repos/0xk175un3/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/0xk175un3/flashcards/issues/5/comments","statuses_url":"https://api.github.com/repos/0xk175un3/flashcards/statuses/078ff34f3a48fce18148b2b78d4eb21fbcc65cf7","head":{"label":"0xk175un3:task_5","ref":"task_5","sha":"078ff34f3a48fce18148b2b78d4eb21fbcc65cf7","user":{"login":"0xk175un3","id":23155143,"avatar_url":"https://avatars1.githubusercontent.com/u/23155143?v=4","gravatar_id":"","url":"https://api.github.com/users/0xk175un3","html_url":"https://github.com/0xk175un3","followers_url":"https://api.github.com/users/0xk175un3/followers","following_url":"https://api.github.com/users/0xk175un3/following{/other_user}","gists_url":"https://api.github.com/users/0xk175un3/gists{/gist_id}","starred_url":"https://api.github.com/users/0xk175un3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xk175un3/subscriptions","organizations_url":"https://api.github.com/users/0xk175un3/orgs","repos_url":"https://api.github.com/users/0xk175un3/repos","events_url":"https://api.github.com/users/0xk175un3/events{/privacy}","received_events_url":"https://api.github.com/users/0xk175un3/received_events","type":"User","site_admin":false},"repo":{"id":112012529,"name":"flashcards","full_name":"0xk175un3/flashcards","owner":{"login":"0xk175un3","id":23155143,"avatar_url":"https://avatars1.githubusercontent.com/u/23155143?v=4","gravatar_id":"","url":"https://api.github.com/users/0xk175un3","html_url":"https://github.com/0xk175un3","followers_url":"https://api.github.com/users/0xk175un3/followers","following_url":"https://api.github.com/users/0xk175un3/following{/other_user}","gists_url":"https://api.github.com/users/0xk175un3/gists{/gist_id}","starred_url":"https://api.github.com/users/0xk175un3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xk175un3/subscriptions","organizations_url":"https://api.github.com/users/0xk175un3/orgs","repos_url":"https://api.github.com/users/0xk175un3/repos","events_url":"https://api.github.com/users/0xk175un3/events{/privacy}","received_events_url":"https://api.github.com/users/0xk175un3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0xk175un3/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/0xk175un3/flashcards","forks_url":"https://api.github.com/repos/0xk175un3/flashcards/forks","keys_url":"https://api.github.com/repos/0xk175un3/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0xk175un3/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0xk175un3/flashcards/teams","hooks_url":"https://api.github.com/repos/0xk175un3/flashcards/hooks","issue_events_url":"https://api.github.com/repos/0xk175un3/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/0xk175un3/flashcards/events","assignees_url":"https://api.github.com/repos/0xk175un3/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/0xk175un3/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/0xk175un3/flashcards/tags","blobs_url":"https://api.github.com/repos/0xk175un3/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0xk175un3/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0xk175un3/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/0xk175un3/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0xk175un3/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/0xk175un3/flashcards/languages","stargazers_url":"https://api.github.com/repos/0xk175un3/flashcards/stargazers","contributors_url":"https://api.github.com/repos/0xk175un3/flashcards/contributors","subscribers_url":"https://api.github.com/repos/0xk175un3/flashcards/subscribers","subscription_url":"https://api.github.com/repos/0xk175un3/flashcards/subscription","commits_url":"https://api.github.com/repos/0xk175un3/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/0xk175un3/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/0xk175un3/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/0xk175un3/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/0xk175un3/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/0xk175un3/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0xk175un3/flashcards/merges","archive_url":"https://api.github.com/repos/0xk175un3/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0xk175un3/flashcards/downloads","issues_url":"https://api.github.com/repos/0xk175un3/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/0xk175un3/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/0xk175un3/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/0xk175un3/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0xk175un3/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/0xk175un3/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/0xk175un3/flashcards/deployments","created_at":"2017-11-25T15:08:36Z","updated_at":"2017-11-25T15:09:02Z","pushed_at":"2017-12-03T15:49:55Z","git_url":"git://github.com/0xk175un3/flashcards.git","ssh_url":"git@github.com:0xk175un3/flashcards.git","clone_url":"https://github.com/0xk175un3/flashcards.git","svn_url":"https://github.com/0xk175un3/flashcards","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"0xk175un3:master","ref":"master","sha":"9218ef4d030d5e9a043ba1713f883dd68aa0bf89","user":{"login":"0xk175un3","id":23155143,"avatar_url":"https://avatars1.githubusercontent.com/u/23155143?v=4","gravatar_id":"","url":"https://api.github.com/users/0xk175un3","html_url":"https://github.com/0xk175un3","followers_url":"https://api.github.com/users/0xk175un3/followers","following_url":"https://api.github.com/users/0xk175un3/following{/other_user}","gists_url":"https://api.github.com/users/0xk175un3/gists{/gist_id}","starred_url":"https://api.github.com/users/0xk175un3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xk175un3/subscriptions","organizations_url":"https://api.github.com/users/0xk175un3/orgs","repos_url":"https://api.github.com/users/0xk175un3/repos","events_url":"https://api.github.com/users/0xk175un3/events{/privacy}","received_events_url":"https://api.github.com/users/0xk175un3/received_events","type":"User","site_admin":false},"repo":{"id":112012529,"name":"flashcards","full_name":"0xk175un3/flashcards","owner":{"login":"0xk175un3","id":23155143,"avatar_url":"https://avatars1.githubusercontent.com/u/23155143?v=4","gravatar_id":"","url":"https://api.github.com/users/0xk175un3","html_url":"https://github.com/0xk175un3","followers_url":"https://api.github.com/users/0xk175un3/followers","following_url":"https://api.github.com/users/0xk175un3/following{/other_user}","gists_url":"https://api.github.com/users/0xk175un3/gists{/gist_id}","starred_url":"https://api.github.com/users/0xk175un3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xk175un3/subscriptions","organizations_url":"https://api.github.com/users/0xk175un3/orgs","repos_url":"https://api.github.com/users/0xk175un3/repos","events_url":"https://api.github.com/users/0xk175un3/events{/privacy}","received_events_url":"https://api.github.com/users/0xk175un3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0xk175un3/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/0xk175un3/flashcards","forks_url":"https://api.github.com/repos/0xk175un3/flashcards/forks","keys_url":"https://api.github.com/repos/0xk175un3/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0xk175un3/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0xk175un3/flashcards/teams","hooks_url":"https://api.github.com/repos/0xk175un3/flashcards/hooks","issue_events_url":"https://api.github.com/repos/0xk175un3/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/0xk175un3/flashcards/events","assignees_url":"https://api.github.com/repos/0xk175un3/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/0xk175un3/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/0xk175un3/flashcards/tags","blobs_url":"https://api.github.com/repos/0xk175un3/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0xk175un3/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0xk175un3/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/0xk175un3/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0xk175un3/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/0xk175un3/flashcards/languages","stargazers_url":"https://api.github.com/repos/0xk175un3/flashcards/stargazers","contributors_url":"https://api.github.com/repos/0xk175un3/flashcards/contributors","subscribers_url":"https://api.github.com/repos/0xk175un3/flashcards/subscribers","subscription_url":"https://api.github.com/repos/0xk175un3/flashcards/subscription","commits_url":"https://api.github.com/repos/0xk175un3/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/0xk175un3/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/0xk175un3/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/0xk175un3/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/0xk175un3/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/0xk175un3/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0xk175un3/flashcards/merges","archive_url":"https://api.github.com/repos/0xk175un3/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0xk175un3/flashcards/downloads","issues_url":"https://api.github.com/repos/0xk175un3/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/0xk175un3/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/0xk175un3/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/0xk175un3/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0xk175un3/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/0xk175un3/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/0xk175un3/flashcards/deployments","created_at":"2017-11-25T15:08:36Z","updated_at":"2017-11-25T15:09:02Z","pushed_at":"2017-12-03T15:49:55Z","git_url":"git://github.com/0xk175un3/flashcards.git","ssh_url":"git@github.com:0xk175un3/flashcards.git","clone_url":"https://github.com/0xk175un3/flashcards.git","svn_url":"https://github.com/0xk175un3/flashcards","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5"},"html":{"href":"https://github.com/0xk175un3/flashcards/pull/5"},"issue":{"href":"https://api.github.com/repos/0xk175un3/flashcards/issues/5"},"comments":{"href":"https://api.github.com/repos/0xk175un3/flashcards/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/0xk175un3/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/0xk175un3/flashcards/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/0xk175un3/flashcards/statuses/078ff34f3a48fce18148b2b78d4eb21fbcc65cf7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}