{"action":"created","comment":{"url":"https://api.github.com/repos/redmandarin/flashcards/pulls/comments/77449800","id":77449800,"diff_hunk":"@@ -1,23 +1,27 @@\n module BlocksHelper\n   def block_item(block)\n-    content_tag(:td, block.title)\n+    concat(content_tag(:td, block.title))\n \n-    if block.current?\n-      content_tag(:td) do\n-        link_to t(\"block.actions.make_ordinary\"), reset_as_current_block_path(block), method: :put\n+    concat(\n+      if block.current?\n+        content_tag(:td) do\n+          link_to t(\"block.actions.make_ordinary\"),\n+                  reset_as_current_block_path(block), method: :put\n+        end\n+      else\n+        content_tag(:td) do\n+          link_to t(\"block.actions.make_current\"),\n+                  set_as_current_block_path(block), method: :put\n+        end\n       end\n-    else\n-      content_tag(:td) do\n-        link_to t(\"block.actions.make_current\"), set_as_current_block_path(block), method: :put\n-      end\n-    end\n+    )\n \n-    content_tag(:td) do\n+    concat(content_tag(:td) do\n       link_to t(\"block.actions.edit\"), edit_block_path(block)\n-    end\n+    end)\n \n-    content_tag(:td) do\n-      link_to t(\"block.actions.destroy\"), block, method: :delete, data: { confirm: \"Удалить колоду?\" }\n-    end\n+    concat(content_tag(:td) do\n+      link_to(t(\"block.actions.destroy\"), block, method: :delete, data: { confirm: \"Удалить колоду?\" })","path":"app/helpers/blocks_helper.rb","position":38,"original_position":38,"commit_id":"21eccb1673c4109de4b4e396dbd77bc8be85a56a","original_commit_id":"21eccb1673c4109de4b4e396dbd77bc8be85a56a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","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":"Line is too long. [103/80]","created_at":"2016-09-04T10:01:05Z","updated_at":"2016-09-04T10:01:05Z","html_url":"https://github.com/redmandarin/flashcards/pull/3#discussion_r77449800","pull_request_url":"https://api.github.com/repos/redmandarin/flashcards/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/redmandarin/flashcards/pulls/comments/77449800"},"html":{"href":"https://github.com/redmandarin/flashcards/pull/3#discussion_r77449800"},"pull_request":{"href":"https://api.github.com/repos/redmandarin/flashcards/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/redmandarin/flashcards/pulls/3","id":82085354,"html_url":"https://github.com/redmandarin/flashcards/pull/3","diff_url":"https://github.com/redmandarin/flashcards/pull/3.diff","patch_url":"https://github.com/redmandarin/flashcards/pull/3.patch","issue_url":"https://api.github.com/repos/redmandarin/flashcards/issues/3","number":3,"state":"open","locked":false,"title":"Rails admin & pundit","user":{"login":"redmandarin","id":731477,"avatar_url":"https://avatars.githubusercontent.com/u/731477?v=3","gravatar_id":"","url":"https://api.github.com/users/redmandarin","html_url":"https://github.com/redmandarin","followers_url":"https://api.github.com/users/redmandarin/followers","following_url":"https://api.github.com/users/redmandarin/following{/other_user}","gists_url":"https://api.github.com/users/redmandarin/gists{/gist_id}","starred_url":"https://api.github.com/users/redmandarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmandarin/subscriptions","organizations_url":"https://api.github.com/users/redmandarin/orgs","repos_url":"https://api.github.com/users/redmandarin/repos","events_url":"https://api.github.com/users/redmandarin/events{/privacy}","received_events_url":"https://api.github.com/users/redmandarin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-20T18:05:14Z","updated_at":"2016-09-04T10:01:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96b23a580ae5e0ab97ec874c9c2a8cf451cd2572","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/redmandarin/flashcards/pulls/3/commits","review_comments_url":"https://api.github.com/repos/redmandarin/flashcards/pulls/3/comments","review_comment_url":"https://api.github.com/repos/redmandarin/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redmandarin/flashcards/issues/3/comments","statuses_url":"https://api.github.com/repos/redmandarin/flashcards/statuses/21eccb1673c4109de4b4e396dbd77bc8be85a56a","head":{"label":"redmandarin:admin-and-roles","ref":"admin-and-roles","sha":"21eccb1673c4109de4b4e396dbd77bc8be85a56a","user":{"login":"redmandarin","id":731477,"avatar_url":"https://avatars.githubusercontent.com/u/731477?v=3","gravatar_id":"","url":"https://api.github.com/users/redmandarin","html_url":"https://github.com/redmandarin","followers_url":"https://api.github.com/users/redmandarin/followers","following_url":"https://api.github.com/users/redmandarin/following{/other_user}","gists_url":"https://api.github.com/users/redmandarin/gists{/gist_id}","starred_url":"https://api.github.com/users/redmandarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmandarin/subscriptions","organizations_url":"https://api.github.com/users/redmandarin/orgs","repos_url":"https://api.github.com/users/redmandarin/repos","events_url":"https://api.github.com/users/redmandarin/events{/privacy}","received_events_url":"https://api.github.com/users/redmandarin/received_events","type":"User","site_admin":false},"repo":{"id":46144730,"name":"flashcards","full_name":"redmandarin/flashcards","owner":{"login":"redmandarin","id":731477,"avatar_url":"https://avatars.githubusercontent.com/u/731477?v=3","gravatar_id":"","url":"https://api.github.com/users/redmandarin","html_url":"https://github.com/redmandarin","followers_url":"https://api.github.com/users/redmandarin/followers","following_url":"https://api.github.com/users/redmandarin/following{/other_user}","gists_url":"https://api.github.com/users/redmandarin/gists{/gist_id}","starred_url":"https://api.github.com/users/redmandarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmandarin/subscriptions","organizations_url":"https://api.github.com/users/redmandarin/orgs","repos_url":"https://api.github.com/users/redmandarin/repos","events_url":"https://api.github.com/users/redmandarin/events{/privacy}","received_events_url":"https://api.github.com/users/redmandarin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redmandarin/flashcards","description":"mkdev.me study app","fork":false,"url":"https://api.github.com/repos/redmandarin/flashcards","forks_url":"https://api.github.com/repos/redmandarin/flashcards/forks","keys_url":"https://api.github.com/repos/redmandarin/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redmandarin/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redmandarin/flashcards/teams","hooks_url":"https://api.github.com/repos/redmandarin/flashcards/hooks","issue_events_url":"https://api.github.com/repos/redmandarin/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/redmandarin/flashcards/events","assignees_url":"https://api.github.com/repos/redmandarin/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/redmandarin/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/redmandarin/flashcards/tags","blobs_url":"https://api.github.com/repos/redmandarin/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redmandarin/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redmandarin/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/redmandarin/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redmandarin/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/redmandarin/flashcards/languages","stargazers_url":"https://api.github.com/repos/redmandarin/flashcards/stargazers","contributors_url":"https://api.github.com/repos/redmandarin/flashcards/contributors","subscribers_url":"https://api.github.com/repos/redmandarin/flashcards/subscribers","subscription_url":"https://api.github.com/repos/redmandarin/flashcards/subscription","commits_url":"https://api.github.com/repos/redmandarin/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/redmandarin/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/redmandarin/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/redmandarin/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/redmandarin/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/redmandarin/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redmandarin/flashcards/merges","archive_url":"https://api.github.com/repos/redmandarin/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redmandarin/flashcards/downloads","issues_url":"https://api.github.com/repos/redmandarin/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/redmandarin/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/redmandarin/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/redmandarin/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redmandarin/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/redmandarin/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/redmandarin/flashcards/deployments","created_at":"2015-11-13T20:11:04Z","updated_at":"2016-08-15T16:27:23Z","pushed_at":"2016-09-04T10:00:54Z","git_url":"git://github.com/redmandarin/flashcards.git","ssh_url":"git@github.com:redmandarin/flashcards.git","clone_url":"https://github.com/redmandarin/flashcards.git","svn_url":"https://github.com/redmandarin/flashcards","homepage":"","size":92,"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":"redmandarin:master","ref":"master","sha":"1f4535739810d5d72982019f78442e6d8e0c04f5","user":{"login":"redmandarin","id":731477,"avatar_url":"https://avatars.githubusercontent.com/u/731477?v=3","gravatar_id":"","url":"https://api.github.com/users/redmandarin","html_url":"https://github.com/redmandarin","followers_url":"https://api.github.com/users/redmandarin/followers","following_url":"https://api.github.com/users/redmandarin/following{/other_user}","gists_url":"https://api.github.com/users/redmandarin/gists{/gist_id}","starred_url":"https://api.github.com/users/redmandarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmandarin/subscriptions","organizations_url":"https://api.github.com/users/redmandarin/orgs","repos_url":"https://api.github.com/users/redmandarin/repos","events_url":"https://api.github.com/users/redmandarin/events{/privacy}","received_events_url":"https://api.github.com/users/redmandarin/received_events","type":"User","site_admin":false},"repo":{"id":46144730,"name":"flashcards","full_name":"redmandarin/flashcards","owner":{"login":"redmandarin","id":731477,"avatar_url":"https://avatars.githubusercontent.com/u/731477?v=3","gravatar_id":"","url":"https://api.github.com/users/redmandarin","html_url":"https://github.com/redmandarin","followers_url":"https://api.github.com/users/redmandarin/followers","following_url":"https://api.github.com/users/redmandarin/following{/other_user}","gists_url":"https://api.github.com/users/redmandarin/gists{/gist_id}","starred_url":"https://api.github.com/users/redmandarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmandarin/subscriptions","organizations_url":"https://api.github.com/users/redmandarin/orgs","repos_url":"https://api.github.com/users/redmandarin/repos","events_url":"https://api.github.com/users/redmandarin/events{/privacy}","received_events_url":"https://api.github.com/users/redmandarin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redmandarin/flashcards","description":"mkdev.me study app","fork":false,"url":"https://api.github.com/repos/redmandarin/flashcards","forks_url":"https://api.github.com/repos/redmandarin/flashcards/forks","keys_url":"https://api.github.com/repos/redmandarin/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redmandarin/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redmandarin/flashcards/teams","hooks_url":"https://api.github.com/repos/redmandarin/flashcards/hooks","issue_events_url":"https://api.github.com/repos/redmandarin/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/redmandarin/flashcards/events","assignees_url":"https://api.github.com/repos/redmandarin/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/redmandarin/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/redmandarin/flashcards/tags","blobs_url":"https://api.github.com/repos/redmandarin/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redmandarin/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redmandarin/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/redmandarin/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redmandarin/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/redmandarin/flashcards/languages","stargazers_url":"https://api.github.com/repos/redmandarin/flashcards/stargazers","contributors_url":"https://api.github.com/repos/redmandarin/flashcards/contributors","subscribers_url":"https://api.github.com/repos/redmandarin/flashcards/subscribers","subscription_url":"https://api.github.com/repos/redmandarin/flashcards/subscription","commits_url":"https://api.github.com/repos/redmandarin/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/redmandarin/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/redmandarin/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/redmandarin/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/redmandarin/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/redmandarin/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redmandarin/flashcards/merges","archive_url":"https://api.github.com/repos/redmandarin/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redmandarin/flashcards/downloads","issues_url":"https://api.github.com/repos/redmandarin/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/redmandarin/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/redmandarin/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/redmandarin/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redmandarin/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/redmandarin/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/redmandarin/flashcards/deployments","created_at":"2015-11-13T20:11:04Z","updated_at":"2016-08-15T16:27:23Z","pushed_at":"2016-09-04T10:00:54Z","git_url":"git://github.com/redmandarin/flashcards.git","ssh_url":"git@github.com:redmandarin/flashcards.git","clone_url":"https://github.com/redmandarin/flashcards.git","svn_url":"https://github.com/redmandarin/flashcards","homepage":"","size":92,"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/redmandarin/flashcards/pulls/3"},"html":{"href":"https://github.com/redmandarin/flashcards/pull/3"},"issue":{"href":"https://api.github.com/repos/redmandarin/flashcards/issues/3"},"comments":{"href":"https://api.github.com/repos/redmandarin/flashcards/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/redmandarin/flashcards/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/redmandarin/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redmandarin/flashcards/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/redmandarin/flashcards/statuses/21eccb1673c4109de4b4e396dbd77bc8be85a56a"}}}}
{"actor":{"display_login":"houndci-bot"}}