{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_19/pulls/comments/48728395","id":48728395,"diff_hunk":"@@ -0,0 +1,19 @@\n+class RelationshipsController < ApplicationController\n+  def create\n+    @user = User.find(params[:followed_id])","path":"app/controllers/relationships_controller.rb","position":3,"original_position":3,"commit_id":"870e06315ebe1ef559bc87a3146d1b6845f952a8","original_commit_id":"870e06315ebe1ef559bc87a3146d1b6845f952a8","user":{"login":"abdullahallmehedi","id":8770038,"avatar_url":"https://avatars.githubusercontent.com/u/8770038?v=3","gravatar_id":"","url":"https://api.github.com/users/abdullahallmehedi","html_url":"https://github.com/abdullahallmehedi","followers_url":"https://api.github.com/users/abdullahallmehedi/followers","following_url":"https://api.github.com/users/abdullahallmehedi/following{/other_user}","gists_url":"https://api.github.com/users/abdullahallmehedi/gists{/gist_id}","starred_url":"https://api.github.com/users/abdullahallmehedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdullahallmehedi/subscriptions","organizations_url":"https://api.github.com/users/abdullahallmehedi/orgs","repos_url":"https://api.github.com/users/abdullahallmehedi/repos","events_url":"https://api.github.com/users/abdullahallmehedi/events{/privacy}","received_events_url":"https://api.github.com/users/abdullahallmehedi/received_events","type":"User","site_admin":false},"body":"()","created_at":"2016-01-04T13:03:53Z","updated_at":"2016-01-04T13:03:53Z","html_url":"https://github.com/framgia/brs_19/pull/31#discussion_r48728395","pull_request_url":"https://api.github.com/repos/framgia/brs_19/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_19/pulls/comments/48728395"},"html":{"href":"https://github.com/framgia/brs_19/pull/31#discussion_r48728395"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_19/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_19/pulls/31","id":54972178,"html_url":"https://github.com/framgia/brs_19/pull/31","diff_url":"https://github.com/framgia/brs_19/pull/31.diff","patch_url":"https://github.com/framgia/brs_19/pull/31.patch","issue_url":"https://api.github.com/repos/framgia/brs_19/issues/31","number":31,"state":"open","locked":false,"title":"Follow  Unfollow User","user":{"login":"SSalekin","id":13296638,"avatar_url":"https://avatars.githubusercontent.com/u/13296638?v=3","gravatar_id":"","url":"https://api.github.com/users/SSalekin","html_url":"https://github.com/SSalekin","followers_url":"https://api.github.com/users/SSalekin/followers","following_url":"https://api.github.com/users/SSalekin/following{/other_user}","gists_url":"https://api.github.com/users/SSalekin/gists{/gist_id}","starred_url":"https://api.github.com/users/SSalekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SSalekin/subscriptions","organizations_url":"https://api.github.com/users/SSalekin/orgs","repos_url":"https://api.github.com/users/SSalekin/repos","events_url":"https://api.github.com/users/SSalekin/events{/privacy}","received_events_url":"https://api.github.com/users/SSalekin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-04T12:56:37Z","updated_at":"2016-01-04T13:03:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9c2ef631e610d4fe469c1cf3b903c5a75fe6fe0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_19/pulls/31/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_19/pulls/31/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_19/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_19/issues/31/comments","statuses_url":"https://api.github.com/repos/framgia/brs_19/statuses/870e06315ebe1ef559bc87a3146d1b6845f952a8","head":{"label":"SSalekin:49974_Follow_Unfollow_user","ref":"49974_Follow_Unfollow_user","sha":"870e06315ebe1ef559bc87a3146d1b6845f952a8","user":{"login":"SSalekin","id":13296638,"avatar_url":"https://avatars.githubusercontent.com/u/13296638?v=3","gravatar_id":"","url":"https://api.github.com/users/SSalekin","html_url":"https://github.com/SSalekin","followers_url":"https://api.github.com/users/SSalekin/followers","following_url":"https://api.github.com/users/SSalekin/following{/other_user}","gists_url":"https://api.github.com/users/SSalekin/gists{/gist_id}","starred_url":"https://api.github.com/users/SSalekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SSalekin/subscriptions","organizations_url":"https://api.github.com/users/SSalekin/orgs","repos_url":"https://api.github.com/users/SSalekin/repos","events_url":"https://api.github.com/users/SSalekin/events{/privacy}","received_events_url":"https://api.github.com/users/SSalekin/received_events","type":"User","site_admin":false},"repo":{"id":48788509,"name":"brs_19","full_name":"SSalekin/brs_19","owner":{"login":"SSalekin","id":13296638,"avatar_url":"https://avatars.githubusercontent.com/u/13296638?v=3","gravatar_id":"","url":"https://api.github.com/users/SSalekin","html_url":"https://github.com/SSalekin","followers_url":"https://api.github.com/users/SSalekin/followers","following_url":"https://api.github.com/users/SSalekin/following{/other_user}","gists_url":"https://api.github.com/users/SSalekin/gists{/gist_id}","starred_url":"https://api.github.com/users/SSalekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SSalekin/subscriptions","organizations_url":"https://api.github.com/users/SSalekin/orgs","repos_url":"https://api.github.com/users/SSalekin/repos","events_url":"https://api.github.com/users/SSalekin/events{/privacy}","received_events_url":"https://api.github.com/users/SSalekin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SSalekin/brs_19","description":"Book Reviewing System","fork":true,"url":"https://api.github.com/repos/SSalekin/brs_19","forks_url":"https://api.github.com/repos/SSalekin/brs_19/forks","keys_url":"https://api.github.com/repos/SSalekin/brs_19/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SSalekin/brs_19/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SSalekin/brs_19/teams","hooks_url":"https://api.github.com/repos/SSalekin/brs_19/hooks","issue_events_url":"https://api.github.com/repos/SSalekin/brs_19/issues/events{/number}","events_url":"https://api.github.com/repos/SSalekin/brs_19/events","assignees_url":"https://api.github.com/repos/SSalekin/brs_19/assignees{/user}","branches_url":"https://api.github.com/repos/SSalekin/brs_19/branches{/branch}","tags_url":"https://api.github.com/repos/SSalekin/brs_19/tags","blobs_url":"https://api.github.com/repos/SSalekin/brs_19/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SSalekin/brs_19/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SSalekin/brs_19/git/refs{/sha}","trees_url":"https://api.github.com/repos/SSalekin/brs_19/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SSalekin/brs_19/statuses/{sha}","languages_url":"https://api.github.com/repos/SSalekin/brs_19/languages","stargazers_url":"https://api.github.com/repos/SSalekin/brs_19/stargazers","contributors_url":"https://api.github.com/repos/SSalekin/brs_19/contributors","subscribers_url":"https://api.github.com/repos/SSalekin/brs_19/subscribers","subscription_url":"https://api.github.com/repos/SSalekin/brs_19/subscription","commits_url":"https://api.github.com/repos/SSalekin/brs_19/commits{/sha}","git_commits_url":"https://api.github.com/repos/SSalekin/brs_19/git/commits{/sha}","comments_url":"https://api.github.com/repos/SSalekin/brs_19/comments{/number}","issue_comment_url":"https://api.github.com/repos/SSalekin/brs_19/issues/comments{/number}","contents_url":"https://api.github.com/repos/SSalekin/brs_19/contents/{+path}","compare_url":"https://api.github.com/repos/SSalekin/brs_19/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SSalekin/brs_19/merges","archive_url":"https://api.github.com/repos/SSalekin/brs_19/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SSalekin/brs_19/downloads","issues_url":"https://api.github.com/repos/SSalekin/brs_19/issues{/number}","pulls_url":"https://api.github.com/repos/SSalekin/brs_19/pulls{/number}","milestones_url":"https://api.github.com/repos/SSalekin/brs_19/milestones{/number}","notifications_url":"https://api.github.com/repos/SSalekin/brs_19/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SSalekin/brs_19/labels{/name}","releases_url":"https://api.github.com/repos/SSalekin/brs_19/releases{/id}","created_at":"2015-12-30T07:34:23Z","updated_at":"2015-12-30T02:39:13Z","pushed_at":"2016-01-04T12:59:55Z","git_url":"git://github.com/SSalekin/brs_19.git","ssh_url":"git@github.com:SSalekin/brs_19.git","clone_url":"https://github.com/SSalekin/brs_19.git","svn_url":"https://github.com/SSalekin/brs_19","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"9027679d8f07787963bd2a2d2337fcb514429b05","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":48777576,"name":"brs_19","full_name":"framgia/brs_19","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/brs_19","description":"Book Reviewing System","fork":false,"url":"https://api.github.com/repos/framgia/brs_19","forks_url":"https://api.github.com/repos/framgia/brs_19/forks","keys_url":"https://api.github.com/repos/framgia/brs_19/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_19/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_19/teams","hooks_url":"https://api.github.com/repos/framgia/brs_19/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_19/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_19/events","assignees_url":"https://api.github.com/repos/framgia/brs_19/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_19/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_19/tags","blobs_url":"https://api.github.com/repos/framgia/brs_19/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_19/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_19/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_19/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_19/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_19/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_19/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_19/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_19/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_19/subscription","commits_url":"https://api.github.com/repos/framgia/brs_19/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_19/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_19/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_19/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_19/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_19/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_19/merges","archive_url":"https://api.github.com/repos/framgia/brs_19/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_19/downloads","issues_url":"https://api.github.com/repos/framgia/brs_19/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_19/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_19/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_19/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_19/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_19/releases{/id}","created_at":"2015-12-30T02:39:13Z","updated_at":"2015-12-30T02:39:13Z","pushed_at":"2016-01-04T12:59:55Z","git_url":"git://github.com/framgia/brs_19.git","ssh_url":"git@github.com:framgia/brs_19.git","clone_url":"https://github.com/framgia/brs_19.git","svn_url":"https://github.com/framgia/brs_19","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_19/pulls/31"},"html":{"href":"https://github.com/framgia/brs_19/pull/31"},"issue":{"href":"https://api.github.com/repos/framgia/brs_19/issues/31"},"comments":{"href":"https://api.github.com/repos/framgia/brs_19/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_19/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_19/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_19/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_19/statuses/870e06315ebe1ef559bc87a3146d1b6845f952a8"}}}}