{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fss_01/pulls/comments/105356782","pull_request_review_id":26233383,"id":105356782,"diff_hunk":"@@ -19,6 +21,29 @@ def link_to_function name, *args, &block\n     onclick = \"#{\"#{html_options[:onclick]}; \" if html_options[:onclick]}#{function}; return false;\"\n     href = html_options[:href] || \"#\"\n \n-    content_tag :a, name, html_options.merge(:href => href, :onclick => onclick)\n+    content_tag :a, name, html_options.merge(:href => href, :onclick => onclick,\n+      class: args[1])\n+  end\n+\n+  def format_recipe_social like, comment, star\n+    like_str = \"<span class=\\\"glyphicon glyphicon-eye-open\\\" aria-hidden=\\\"true\\\"></span> #{like} &nbsp\"\n+    comment_str = \"<span class=\\\"glyphicon glyphicon-heart\\\" aria-hidden=\\\"true\\\"></span> #{comment} &nbsp\"\n+    star_str = \"<span class=\\\"glyphicon glyphicon-star\\\" aria-hidden=\\\"true\\\"></span> #{star} \"\n+    str = like_str + comment_str + star_str\n+  end\n+\n+  def format_status str","path":"app/helpers/application_helper.rb","position":35,"original_position":35,"commit_id":"e2e1982384901c2cb4861188d72a14cb4fdcab21","original_commit_id":"e2e1982384901c2cb4861188d72a14cb4fdcab21","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars2.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"cái này là sao?","created_at":"2017-03-10T09:14:01Z","updated_at":"2017-03-10T09:14:38Z","html_url":"https://github.com/framgia/fss_01/pull/17#discussion_r105356782","pull_request_url":"https://api.github.com/repos/framgia/fss_01/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/framgia/fss_01/pulls/comments/105356782"},"html":{"href":"https://github.com/framgia/fss_01/pull/17#discussion_r105356782"},"pull_request":{"href":"https://api.github.com/repos/framgia/fss_01/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fss_01/pulls/17","id":110086702,"html_url":"https://github.com/framgia/fss_01/pull/17","diff_url":"https://github.com/framgia/fss_01/pull/17.diff","patch_url":"https://github.com/framgia/fss_01/pull/17.patch","issue_url":"https://api.github.com/repos/framgia/fss_01/issues/17","number":17,"state":"open","locked":false,"title":"Update mangager recipe","user":{"login":"dongta195","id":18382092,"avatar_url":"https://avatars3.githubusercontent.com/u/18382092?v=3","gravatar_id":"","url":"https://api.github.com/users/dongta195","html_url":"https://github.com/dongta195","followers_url":"https://api.github.com/users/dongta195/followers","following_url":"https://api.github.com/users/dongta195/following{/other_user}","gists_url":"https://api.github.com/users/dongta195/gists{/gist_id}","starred_url":"https://api.github.com/users/dongta195/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongta195/subscriptions","organizations_url":"https://api.github.com/users/dongta195/orgs","repos_url":"https://api.github.com/users/dongta195/repos","events_url":"https://api.github.com/users/dongta195/events{/privacy}","received_events_url":"https://api.github.com/users/dongta195/received_events","type":"User","site_admin":false},"body":"Sửa lại form thêm mới món ăn,\r\nTrang quản lý món ăn cho người dùng","created_at":"2017-03-10T09:03:42Z","updated_at":"2017-03-10T09:14:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a883d9fa627d78e97dba3f3317be6a9f433bb947","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fss_01/pulls/17/commits","review_comments_url":"https://api.github.com/repos/framgia/fss_01/pulls/17/comments","review_comment_url":"https://api.github.com/repos/framgia/fss_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fss_01/issues/17/comments","statuses_url":"https://api.github.com/repos/framgia/fss_01/statuses/e2e1982384901c2cb4861188d72a14cb4fdcab21","head":{"label":"dongta195:EditRecipe","ref":"EditRecipe","sha":"e2e1982384901c2cb4861188d72a14cb4fdcab21","user":{"login":"dongta195","id":18382092,"avatar_url":"https://avatars3.githubusercontent.com/u/18382092?v=3","gravatar_id":"","url":"https://api.github.com/users/dongta195","html_url":"https://github.com/dongta195","followers_url":"https://api.github.com/users/dongta195/followers","following_url":"https://api.github.com/users/dongta195/following{/other_user}","gists_url":"https://api.github.com/users/dongta195/gists{/gist_id}","starred_url":"https://api.github.com/users/dongta195/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongta195/subscriptions","organizations_url":"https://api.github.com/users/dongta195/orgs","repos_url":"https://api.github.com/users/dongta195/repos","events_url":"https://api.github.com/users/dongta195/events{/privacy}","received_events_url":"https://api.github.com/users/dongta195/received_events","type":"User","site_admin":false},"repo":{"id":83765103,"name":"fss_01","full_name":"dongta195/fss_01","owner":{"login":"dongta195","id":18382092,"avatar_url":"https://avatars3.githubusercontent.com/u/18382092?v=3","gravatar_id":"","url":"https://api.github.com/users/dongta195","html_url":"https://github.com/dongta195","followers_url":"https://api.github.com/users/dongta195/followers","following_url":"https://api.github.com/users/dongta195/following{/other_user}","gists_url":"https://api.github.com/users/dongta195/gists{/gist_id}","starred_url":"https://api.github.com/users/dongta195/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongta195/subscriptions","organizations_url":"https://api.github.com/users/dongta195/orgs","repos_url":"https://api.github.com/users/dongta195/repos","events_url":"https://api.github.com/users/dongta195/events{/privacy}","received_events_url":"https://api.github.com/users/dongta195/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dongta195/fss_01","description":"Food Social System","fork":true,"url":"https://api.github.com/repos/dongta195/fss_01","forks_url":"https://api.github.com/repos/dongta195/fss_01/forks","keys_url":"https://api.github.com/repos/dongta195/fss_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dongta195/fss_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dongta195/fss_01/teams","hooks_url":"https://api.github.com/repos/dongta195/fss_01/hooks","issue_events_url":"https://api.github.com/repos/dongta195/fss_01/issues/events{/number}","events_url":"https://api.github.com/repos/dongta195/fss_01/events","assignees_url":"https://api.github.com/repos/dongta195/fss_01/assignees{/user}","branches_url":"https://api.github.com/repos/dongta195/fss_01/branches{/branch}","tags_url":"https://api.github.com/repos/dongta195/fss_01/tags","blobs_url":"https://api.github.com/repos/dongta195/fss_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dongta195/fss_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dongta195/fss_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/dongta195/fss_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dongta195/fss_01/statuses/{sha}","languages_url":"https://api.github.com/repos/dongta195/fss_01/languages","stargazers_url":"https://api.github.com/repos/dongta195/fss_01/stargazers","contributors_url":"https://api.github.com/repos/dongta195/fss_01/contributors","subscribers_url":"https://api.github.com/repos/dongta195/fss_01/subscribers","subscription_url":"https://api.github.com/repos/dongta195/fss_01/subscription","commits_url":"https://api.github.com/repos/dongta195/fss_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/dongta195/fss_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/dongta195/fss_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/dongta195/fss_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/dongta195/fss_01/contents/{+path}","compare_url":"https://api.github.com/repos/dongta195/fss_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dongta195/fss_01/merges","archive_url":"https://api.github.com/repos/dongta195/fss_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dongta195/fss_01/downloads","issues_url":"https://api.github.com/repos/dongta195/fss_01/issues{/number}","pulls_url":"https://api.github.com/repos/dongta195/fss_01/pulls{/number}","milestones_url":"https://api.github.com/repos/dongta195/fss_01/milestones{/number}","notifications_url":"https://api.github.com/repos/dongta195/fss_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dongta195/fss_01/labels{/name}","releases_url":"https://api.github.com/repos/dongta195/fss_01/releases{/id}","deployments_url":"https://api.github.com/repos/dongta195/fss_01/deployments","created_at":"2017-03-03T06:23:45Z","updated_at":"2017-03-03T01:10:06Z","pushed_at":"2017-03-10T09:10:16Z","git_url":"git://github.com/dongta195/fss_01.git","ssh_url":"git@github.com:dongta195/fss_01.git","clone_url":"https://github.com/dongta195/fss_01.git","svn_url":"https://github.com/dongta195/fss_01","homepage":null,"size":87,"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":"ddf388cc6baddf073abaed226cf3829263433693","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars0.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":83741641,"name":"fss_01","full_name":"framgia/fss_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars0.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/fss_01","description":"Food Social System","fork":false,"url":"https://api.github.com/repos/framgia/fss_01","forks_url":"https://api.github.com/repos/framgia/fss_01/forks","keys_url":"https://api.github.com/repos/framgia/fss_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fss_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fss_01/teams","hooks_url":"https://api.github.com/repos/framgia/fss_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/fss_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fss_01/events","assignees_url":"https://api.github.com/repos/framgia/fss_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fss_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fss_01/tags","blobs_url":"https://api.github.com/repos/framgia/fss_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fss_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fss_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fss_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fss_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fss_01/languages","stargazers_url":"https://api.github.com/repos/framgia/fss_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/fss_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/fss_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/fss_01/subscription","commits_url":"https://api.github.com/repos/framgia/fss_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fss_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fss_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fss_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fss_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fss_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fss_01/merges","archive_url":"https://api.github.com/repos/framgia/fss_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fss_01/downloads","issues_url":"https://api.github.com/repos/framgia/fss_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fss_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fss_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fss_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fss_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fss_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fss_01/deployments","created_at":"2017-03-03T01:10:06Z","updated_at":"2017-03-03T01:10:06Z","pushed_at":"2017-03-10T09:10:17Z","git_url":"git://github.com/framgia/fss_01.git","ssh_url":"git@github.com:framgia/fss_01.git","clone_url":"https://github.com/framgia/fss_01.git","svn_url":"https://github.com/framgia/fss_01","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fss_01/pulls/17"},"html":{"href":"https://github.com/framgia/fss_01/pull/17"},"issue":{"href":"https://api.github.com/repos/framgia/fss_01/issues/17"},"comments":{"href":"https://api.github.com/repos/framgia/fss_01/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fss_01/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fss_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fss_01/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fss_01/statuses/e2e1982384901c2cb4861188d72a14cb4fdcab21"}}}}
{"actor":{"display_login":"hellovietnam93"}}