{"action":"created","comment":{"url":"https://api.github.com/repos/Snakke/howtomake/pulls/comments/130298464","pull_request_review_id":53156480,"id":130298464,"diff_hunk":"@@ -45,6 +45,10 @@ def update_text(data)\n     Block.find(data['id']).update_attributes(data: data['data'])\n   end\n \n+  def update_title(data)\n+    current_user.manuals.where(id: params[:manual_id]).first.pages.where(id: data['id']).first.update(title: data['title'])","path":"app/channels/manuals_channel.rb","position":5,"original_position":5,"commit_id":"829812da3acb46a87d1de343ecd07a5f5b7c5265","original_commit_id":"829812da3acb46a87d1de343ecd07a5f5b7c5265","user":{"login":"Snakke","id":2871802,"avatar_url":"https://avatars2.githubusercontent.com/u/2871802?v=4","gravatar_id":"","url":"https://api.github.com/users/Snakke","html_url":"https://github.com/Snakke","followers_url":"https://api.github.com/users/Snakke/followers","following_url":"https://api.github.com/users/Snakke/following{/other_user}","gists_url":"https://api.github.com/users/Snakke/gists{/gist_id}","starred_url":"https://api.github.com/users/Snakke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snakke/subscriptions","organizations_url":"https://api.github.com/users/Snakke/orgs","repos_url":"https://api.github.com/users/Snakke/repos","events_url":"https://api.github.com/users/Snakke/events{/privacy}","received_events_url":"https://api.github.com/users/Snakke/received_events","type":"User","site_admin":false},"body":"Metrics/LineLength: Line is too long. [123/120]","created_at":"2017-07-31T08:39:41Z","updated_at":"2017-07-31T08:39:41Z","html_url":"https://github.com/Snakke/howtomake/pull/12#discussion_r130298464","pull_request_url":"https://api.github.com/repos/Snakke/howtomake/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Snakke/howtomake/pulls/comments/130298464"},"html":{"href":"https://github.com/Snakke/howtomake/pull/12#discussion_r130298464"},"pull_request":{"href":"https://api.github.com/repos/Snakke/howtomake/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Snakke/howtomake/pulls/12","id":133191447,"html_url":"https://github.com/Snakke/howtomake/pull/12","diff_url":"https://github.com/Snakke/howtomake/pull/12.diff","patch_url":"https://github.com/Snakke/howtomake/pull/12.patch","issue_url":"https://api.github.com/repos/Snakke/howtomake/issues/12","number":12,"state":"open","locked":false,"title":"Add modes for manuals","user":{"login":"Snakke","id":2871802,"avatar_url":"https://avatars2.githubusercontent.com/u/2871802?v=4","gravatar_id":"","url":"https://api.github.com/users/Snakke","html_url":"https://github.com/Snakke","followers_url":"https://api.github.com/users/Snakke/followers","following_url":"https://api.github.com/users/Snakke/following{/other_user}","gists_url":"https://api.github.com/users/Snakke/gists{/gist_id}","starred_url":"https://api.github.com/users/Snakke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snakke/subscriptions","organizations_url":"https://api.github.com/users/Snakke/orgs","repos_url":"https://api.github.com/users/Snakke/repos","events_url":"https://api.github.com/users/Snakke/events{/privacy}","received_events_url":"https://api.github.com/users/Snakke/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-31T08:36:00Z","updated_at":"2017-07-31T08:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"208ab44c5c8db49f25e73b1301a73a36734d3ab1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Snakke/howtomake/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Snakke/howtomake/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Snakke/howtomake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Snakke/howtomake/issues/12/comments","statuses_url":"https://api.github.com/repos/Snakke/howtomake/statuses/829812da3acb46a87d1de343ecd07a5f5b7c5265","head":{"label":"Snakke:kz-add-modes-for-manuals","ref":"kz-add-modes-for-manuals","sha":"829812da3acb46a87d1de343ecd07a5f5b7c5265","user":{"login":"Snakke","id":2871802,"avatar_url":"https://avatars2.githubusercontent.com/u/2871802?v=4","gravatar_id":"","url":"https://api.github.com/users/Snakke","html_url":"https://github.com/Snakke","followers_url":"https://api.github.com/users/Snakke/followers","following_url":"https://api.github.com/users/Snakke/following{/other_user}","gists_url":"https://api.github.com/users/Snakke/gists{/gist_id}","starred_url":"https://api.github.com/users/Snakke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snakke/subscriptions","organizations_url":"https://api.github.com/users/Snakke/orgs","repos_url":"https://api.github.com/users/Snakke/repos","events_url":"https://api.github.com/users/Snakke/events{/privacy}","received_events_url":"https://api.github.com/users/Snakke/received_events","type":"User","site_admin":false},"repo":{"id":97113050,"name":"howtomake","full_name":"Snakke/howtomake","owner":{"login":"Snakke","id":2871802,"avatar_url":"https://avatars2.githubusercontent.com/u/2871802?v=4","gravatar_id":"","url":"https://api.github.com/users/Snakke","html_url":"https://github.com/Snakke","followers_url":"https://api.github.com/users/Snakke/followers","following_url":"https://api.github.com/users/Snakke/following{/other_user}","gists_url":"https://api.github.com/users/Snakke/gists{/gist_id}","starred_url":"https://api.github.com/users/Snakke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snakke/subscriptions","organizations_url":"https://api.github.com/users/Snakke/orgs","repos_url":"https://api.github.com/users/Snakke/repos","events_url":"https://api.github.com/users/Snakke/events{/privacy}","received_events_url":"https://api.github.com/users/Snakke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Snakke/howtomake","description":null,"fork":false,"url":"https://api.github.com/repos/Snakke/howtomake","forks_url":"https://api.github.com/repos/Snakke/howtomake/forks","keys_url":"https://api.github.com/repos/Snakke/howtomake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Snakke/howtomake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Snakke/howtomake/teams","hooks_url":"https://api.github.com/repos/Snakke/howtomake/hooks","issue_events_url":"https://api.github.com/repos/Snakke/howtomake/issues/events{/number}","events_url":"https://api.github.com/repos/Snakke/howtomake/events","assignees_url":"https://api.github.com/repos/Snakke/howtomake/assignees{/user}","branches_url":"https://api.github.com/repos/Snakke/howtomake/branches{/branch}","tags_url":"https://api.github.com/repos/Snakke/howtomake/tags","blobs_url":"https://api.github.com/repos/Snakke/howtomake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Snakke/howtomake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Snakke/howtomake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Snakke/howtomake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Snakke/howtomake/statuses/{sha}","languages_url":"https://api.github.com/repos/Snakke/howtomake/languages","stargazers_url":"https://api.github.com/repos/Snakke/howtomake/stargazers","contributors_url":"https://api.github.com/repos/Snakke/howtomake/contributors","subscribers_url":"https://api.github.com/repos/Snakke/howtomake/subscribers","subscription_url":"https://api.github.com/repos/Snakke/howtomake/subscription","commits_url":"https://api.github.com/repos/Snakke/howtomake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Snakke/howtomake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Snakke/howtomake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Snakke/howtomake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Snakke/howtomake/contents/{+path}","compare_url":"https://api.github.com/repos/Snakke/howtomake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Snakke/howtomake/merges","archive_url":"https://api.github.com/repos/Snakke/howtomake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Snakke/howtomake/downloads","issues_url":"https://api.github.com/repos/Snakke/howtomake/issues{/number}","pulls_url":"https://api.github.com/repos/Snakke/howtomake/pulls{/number}","milestones_url":"https://api.github.com/repos/Snakke/howtomake/milestones{/number}","notifications_url":"https://api.github.com/repos/Snakke/howtomake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Snakke/howtomake/labels{/name}","releases_url":"https://api.github.com/repos/Snakke/howtomake/releases{/id}","deployments_url":"https://api.github.com/repos/Snakke/howtomake/deployments","created_at":"2017-07-13T11:01:00Z","updated_at":"2017-07-29T15:28:37Z","pushed_at":"2017-07-31T08:36:01Z","git_url":"git://github.com/Snakke/howtomake.git","ssh_url":"git@github.com:Snakke/howtomake.git","clone_url":"https://github.com/Snakke/howtomake.git","svn_url":"https://github.com/Snakke/howtomake","homepage":null,"size":1173,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":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":1,"default_branch":"master"}},"base":{"label":"Snakke:master","ref":"master","sha":"b9df7940d3a3b73870546ec76e6cc9b9e9899277","user":{"login":"Snakke","id":2871802,"avatar_url":"https://avatars2.githubusercontent.com/u/2871802?v=4","gravatar_id":"","url":"https://api.github.com/users/Snakke","html_url":"https://github.com/Snakke","followers_url":"https://api.github.com/users/Snakke/followers","following_url":"https://api.github.com/users/Snakke/following{/other_user}","gists_url":"https://api.github.com/users/Snakke/gists{/gist_id}","starred_url":"https://api.github.com/users/Snakke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snakke/subscriptions","organizations_url":"https://api.github.com/users/Snakke/orgs","repos_url":"https://api.github.com/users/Snakke/repos","events_url":"https://api.github.com/users/Snakke/events{/privacy}","received_events_url":"https://api.github.com/users/Snakke/received_events","type":"User","site_admin":false},"repo":{"id":97113050,"name":"howtomake","full_name":"Snakke/howtomake","owner":{"login":"Snakke","id":2871802,"avatar_url":"https://avatars2.githubusercontent.com/u/2871802?v=4","gravatar_id":"","url":"https://api.github.com/users/Snakke","html_url":"https://github.com/Snakke","followers_url":"https://api.github.com/users/Snakke/followers","following_url":"https://api.github.com/users/Snakke/following{/other_user}","gists_url":"https://api.github.com/users/Snakke/gists{/gist_id}","starred_url":"https://api.github.com/users/Snakke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snakke/subscriptions","organizations_url":"https://api.github.com/users/Snakke/orgs","repos_url":"https://api.github.com/users/Snakke/repos","events_url":"https://api.github.com/users/Snakke/events{/privacy}","received_events_url":"https://api.github.com/users/Snakke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Snakke/howtomake","description":null,"fork":false,"url":"https://api.github.com/repos/Snakke/howtomake","forks_url":"https://api.github.com/repos/Snakke/howtomake/forks","keys_url":"https://api.github.com/repos/Snakke/howtomake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Snakke/howtomake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Snakke/howtomake/teams","hooks_url":"https://api.github.com/repos/Snakke/howtomake/hooks","issue_events_url":"https://api.github.com/repos/Snakke/howtomake/issues/events{/number}","events_url":"https://api.github.com/repos/Snakke/howtomake/events","assignees_url":"https://api.github.com/repos/Snakke/howtomake/assignees{/user}","branches_url":"https://api.github.com/repos/Snakke/howtomake/branches{/branch}","tags_url":"https://api.github.com/repos/Snakke/howtomake/tags","blobs_url":"https://api.github.com/repos/Snakke/howtomake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Snakke/howtomake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Snakke/howtomake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Snakke/howtomake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Snakke/howtomake/statuses/{sha}","languages_url":"https://api.github.com/repos/Snakke/howtomake/languages","stargazers_url":"https://api.github.com/repos/Snakke/howtomake/stargazers","contributors_url":"https://api.github.com/repos/Snakke/howtomake/contributors","subscribers_url":"https://api.github.com/repos/Snakke/howtomake/subscribers","subscription_url":"https://api.github.com/repos/Snakke/howtomake/subscription","commits_url":"https://api.github.com/repos/Snakke/howtomake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Snakke/howtomake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Snakke/howtomake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Snakke/howtomake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Snakke/howtomake/contents/{+path}","compare_url":"https://api.github.com/repos/Snakke/howtomake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Snakke/howtomake/merges","archive_url":"https://api.github.com/repos/Snakke/howtomake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Snakke/howtomake/downloads","issues_url":"https://api.github.com/repos/Snakke/howtomake/issues{/number}","pulls_url":"https://api.github.com/repos/Snakke/howtomake/pulls{/number}","milestones_url":"https://api.github.com/repos/Snakke/howtomake/milestones{/number}","notifications_url":"https://api.github.com/repos/Snakke/howtomake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Snakke/howtomake/labels{/name}","releases_url":"https://api.github.com/repos/Snakke/howtomake/releases{/id}","deployments_url":"https://api.github.com/repos/Snakke/howtomake/deployments","created_at":"2017-07-13T11:01:00Z","updated_at":"2017-07-29T15:28:37Z","pushed_at":"2017-07-31T08:36:01Z","git_url":"git://github.com/Snakke/howtomake.git","ssh_url":"git@github.com:Snakke/howtomake.git","clone_url":"https://github.com/Snakke/howtomake.git","svn_url":"https://github.com/Snakke/howtomake","homepage":null,"size":1173,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Snakke/howtomake/pulls/12"},"html":{"href":"https://github.com/Snakke/howtomake/pull/12"},"issue":{"href":"https://api.github.com/repos/Snakke/howtomake/issues/12"},"comments":{"href":"https://api.github.com/repos/Snakke/howtomake/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Snakke/howtomake/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Snakke/howtomake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Snakke/howtomake/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Snakke/howtomake/statuses/829812da3acb46a87d1de343ecd07a5f5b7c5265"}}}}
{"actor":{"display_login":"Snakke"}}