{"action":"created","comment":{"url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/comments/89075184","pull_request_review_id":9624954,"id":89075184,"diff_hunk":"@@ -0,0 +1,57 @@\n+class BlogsController < ApplicationController\n+  before_action :set_blog, only: %i(show edit update destroy)\n+  before_action :authenticate_user!\n+\n+  respond_to :html\n+  # GET /blogs\n+  # GET /blogs.json\n+  def index\n+    @blogs = Blog.all\n+    @author = current_user\n+  end\n+\n+  # GET /blogs/1\n+  # GET /blogs/1.json\n+  def show\n+  end\n+\n+  # GET /blogs/new\n+  def new\n+    @blog = Blog.new\n+  end\n+\n+  # GET /blogs/1/edit\n+  def edit\n+  end\n+\n+  # POST /blogs\n+  # POST /blogs.json\n+  def create\n+    @blog = current_user.blog.create(blog_params)\n+    respond_with(@blog)","path":"app/controllers/blogs_controller.rb","position":31,"original_position":31,"commit_id":"22a34732804e6f6d8355b6bd06947204f735d0a1","original_commit_id":"22a34732804e6f6d8355b6bd06947204f735d0a1","user":{"login":"vladimirbazhanov","id":275709,"avatar_url":"https://avatars.githubusercontent.com/u/275709?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimirbazhanov","html_url":"https://github.com/vladimirbazhanov","followers_url":"https://api.github.com/users/vladimirbazhanov/followers","following_url":"https://api.github.com/users/vladimirbazhanov/following{/other_user}","gists_url":"https://api.github.com/users/vladimirbazhanov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirbazhanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirbazhanov/subscriptions","organizations_url":"https://api.github.com/users/vladimirbazhanov/orgs","repos_url":"https://api.github.com/users/vladimirbazhanov/repos","events_url":"https://api.github.com/users/vladimirbazhanov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirbazhanov/received_events","type":"User","site_admin":false},"body":"```\r\nrespond_with @blog\r\n```\r\npls dont use ( and ) in places where all will work without them","created_at":"2016-11-22T09:41:28Z","updated_at":"2016-11-22T09:41:28Z","html_url":"https://github.com/Vlcmdc/fs_blorm/pull/6#discussion_r89075184","pull_request_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/comments/89075184"},"html":{"href":"https://github.com/Vlcmdc/fs_blorm/pull/6#discussion_r89075184"},"pull_request":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6","id":94772164,"html_url":"https://github.com/Vlcmdc/fs_blorm/pull/6","diff_url":"https://github.com/Vlcmdc/fs_blorm/pull/6.diff","patch_url":"https://github.com/Vlcmdc/fs_blorm/pull/6.patch","issue_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/6","number":6,"state":"open","locked":false,"title":"User blog","user":{"login":"Vlcmdc","id":11600487,"avatar_url":"https://avatars.githubusercontent.com/u/11600487?v=3","gravatar_id":"","url":"https://api.github.com/users/Vlcmdc","html_url":"https://github.com/Vlcmdc","followers_url":"https://api.github.com/users/Vlcmdc/followers","following_url":"https://api.github.com/users/Vlcmdc/following{/other_user}","gists_url":"https://api.github.com/users/Vlcmdc/gists{/gist_id}","starred_url":"https://api.github.com/users/Vlcmdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vlcmdc/subscriptions","organizations_url":"https://api.github.com/users/Vlcmdc/orgs","repos_url":"https://api.github.com/users/Vlcmdc/repos","events_url":"https://api.github.com/users/Vlcmdc/events{/privacy}","received_events_url":"https://api.github.com/users/Vlcmdc/received_events","type":"User","site_admin":false},"body":"Few tests yet, because need to rewrite views before testing","created_at":"2016-11-22T09:01:41Z","updated_at":"2016-11-22T09:41:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"071d5c6abd0237159fa387cbf978490cc46bd785","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/6/comments","statuses_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/statuses/22a34732804e6f6d8355b6bd06947204f735d0a1","head":{"label":"Vlcmdc:user-blog","ref":"user-blog","sha":"22a34732804e6f6d8355b6bd06947204f735d0a1","user":{"login":"Vlcmdc","id":11600487,"avatar_url":"https://avatars.githubusercontent.com/u/11600487?v=3","gravatar_id":"","url":"https://api.github.com/users/Vlcmdc","html_url":"https://github.com/Vlcmdc","followers_url":"https://api.github.com/users/Vlcmdc/followers","following_url":"https://api.github.com/users/Vlcmdc/following{/other_user}","gists_url":"https://api.github.com/users/Vlcmdc/gists{/gist_id}","starred_url":"https://api.github.com/users/Vlcmdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vlcmdc/subscriptions","organizations_url":"https://api.github.com/users/Vlcmdc/orgs","repos_url":"https://api.github.com/users/Vlcmdc/repos","events_url":"https://api.github.com/users/Vlcmdc/events{/privacy}","received_events_url":"https://api.github.com/users/Vlcmdc/received_events","type":"User","site_admin":false},"repo":{"id":72114682,"name":"fs_blorm","full_name":"Vlcmdc/fs_blorm","owner":{"login":"Vlcmdc","id":11600487,"avatar_url":"https://avatars.githubusercontent.com/u/11600487?v=3","gravatar_id":"","url":"https://api.github.com/users/Vlcmdc","html_url":"https://github.com/Vlcmdc","followers_url":"https://api.github.com/users/Vlcmdc/followers","following_url":"https://api.github.com/users/Vlcmdc/following{/other_user}","gists_url":"https://api.github.com/users/Vlcmdc/gists{/gist_id}","starred_url":"https://api.github.com/users/Vlcmdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vlcmdc/subscriptions","organizations_url":"https://api.github.com/users/Vlcmdc/orgs","repos_url":"https://api.github.com/users/Vlcmdc/repos","events_url":"https://api.github.com/users/Vlcmdc/events{/privacy}","received_events_url":"https://api.github.com/users/Vlcmdc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vlcmdc/fs_blorm","description":null,"fork":false,"url":"https://api.github.com/repos/Vlcmdc/fs_blorm","forks_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/forks","keys_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/teams","hooks_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/hooks","issue_events_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/events{/number}","events_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/events","assignees_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/assignees{/user}","branches_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/branches{/branch}","tags_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/tags","blobs_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/statuses/{sha}","languages_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/languages","stargazers_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/stargazers","contributors_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/contributors","subscribers_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/subscribers","subscription_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/subscription","commits_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/contents/{+path}","compare_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/merges","archive_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/downloads","issues_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues{/number}","pulls_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls{/number}","milestones_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/milestones{/number}","notifications_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/labels{/name}","releases_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/releases{/id}","deployments_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/deployments","created_at":"2016-10-27T14:10:41Z","updated_at":"2016-11-15T20:40:52Z","pushed_at":"2016-11-22T09:01:41Z","git_url":"git://github.com/Vlcmdc/fs_blorm.git","ssh_url":"git@github.com:Vlcmdc/fs_blorm.git","clone_url":"https://github.com/Vlcmdc/fs_blorm.git","svn_url":"https://github.com/Vlcmdc/fs_blorm","homepage":"https://blorm.herokuapp.com","size":85,"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":"Vlcmdc:master","ref":"master","sha":"594b155bf6df746ee2617f18755d5ce66cce40ab","user":{"login":"Vlcmdc","id":11600487,"avatar_url":"https://avatars.githubusercontent.com/u/11600487?v=3","gravatar_id":"","url":"https://api.github.com/users/Vlcmdc","html_url":"https://github.com/Vlcmdc","followers_url":"https://api.github.com/users/Vlcmdc/followers","following_url":"https://api.github.com/users/Vlcmdc/following{/other_user}","gists_url":"https://api.github.com/users/Vlcmdc/gists{/gist_id}","starred_url":"https://api.github.com/users/Vlcmdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vlcmdc/subscriptions","organizations_url":"https://api.github.com/users/Vlcmdc/orgs","repos_url":"https://api.github.com/users/Vlcmdc/repos","events_url":"https://api.github.com/users/Vlcmdc/events{/privacy}","received_events_url":"https://api.github.com/users/Vlcmdc/received_events","type":"User","site_admin":false},"repo":{"id":72114682,"name":"fs_blorm","full_name":"Vlcmdc/fs_blorm","owner":{"login":"Vlcmdc","id":11600487,"avatar_url":"https://avatars.githubusercontent.com/u/11600487?v=3","gravatar_id":"","url":"https://api.github.com/users/Vlcmdc","html_url":"https://github.com/Vlcmdc","followers_url":"https://api.github.com/users/Vlcmdc/followers","following_url":"https://api.github.com/users/Vlcmdc/following{/other_user}","gists_url":"https://api.github.com/users/Vlcmdc/gists{/gist_id}","starred_url":"https://api.github.com/users/Vlcmdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vlcmdc/subscriptions","organizations_url":"https://api.github.com/users/Vlcmdc/orgs","repos_url":"https://api.github.com/users/Vlcmdc/repos","events_url":"https://api.github.com/users/Vlcmdc/events{/privacy}","received_events_url":"https://api.github.com/users/Vlcmdc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vlcmdc/fs_blorm","description":null,"fork":false,"url":"https://api.github.com/repos/Vlcmdc/fs_blorm","forks_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/forks","keys_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/teams","hooks_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/hooks","issue_events_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/events{/number}","events_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/events","assignees_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/assignees{/user}","branches_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/branches{/branch}","tags_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/tags","blobs_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/statuses/{sha}","languages_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/languages","stargazers_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/stargazers","contributors_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/contributors","subscribers_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/subscribers","subscription_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/subscription","commits_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/contents/{+path}","compare_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/merges","archive_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/downloads","issues_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues{/number}","pulls_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls{/number}","milestones_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/milestones{/number}","notifications_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/labels{/name}","releases_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/releases{/id}","deployments_url":"https://api.github.com/repos/Vlcmdc/fs_blorm/deployments","created_at":"2016-10-27T14:10:41Z","updated_at":"2016-11-15T20:40:52Z","pushed_at":"2016-11-22T09:01:41Z","git_url":"git://github.com/Vlcmdc/fs_blorm.git","ssh_url":"git@github.com:Vlcmdc/fs_blorm.git","clone_url":"https://github.com/Vlcmdc/fs_blorm.git","svn_url":"https://github.com/Vlcmdc/fs_blorm","homepage":"https://blorm.herokuapp.com","size":85,"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/Vlcmdc/fs_blorm/pulls/6"},"html":{"href":"https://github.com/Vlcmdc/fs_blorm/pull/6"},"issue":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/6"},"comments":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Vlcmdc/fs_blorm/statuses/22a34732804e6f6d8355b6bd06947204f735d0a1"}}}}
{"actor":{"display_login":"vladimirbazhanov"}}