{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fdf_12/pulls/comments/80178294","id":80178294,"diff_hunk":"@@ -130,32 +118,25 @@\n </h2>\n \n <div class=\"col-md-12 magin_top_10px\" id=\"id_products_list\">\n- <% 10.times do |i| %>\n+ <% @products.each_with_index do |product, index| %>\n    <div class=\"product_item_wrapper\">\n      <div class=\"poster_info_area padding_5px\">\n        <div class=\"avatar_area float_left\">\n-         <a href=\"#\">\n-           <img alt=\"User\" class=\"gravatar img-circle\"\n-             src=\"assets/draft/ui_4.jpg\">\n-         </a>\n-       </div>\n+          <%= link_to image_tag(product.image_url), class: \"gravatar img-circle\" %>\n+        </div>\n        <div class=\"poster_content_area\">\n-         <a href=\"#\">\n-           <h3><%= t \"draft.user_name\" %></h3>\n-         </a>\n+         <%= link_to product.user.name, \"#\" %>\n          <span>\n            <%= t \"common.owner_of\" %>\n-           <a href=\"#\"><%= t \"draft.shop_name\" %></a>\n+           <%= link_to product.shop.name, \"#\" %>","path":"app/views/static_pages/home.html.erb","position":102,"original_position":102,"commit_id":"ab24acca8b4aff98d8c00542bb9c3db00dcac4be","original_commit_id":"ab24acca8b4aff98d8c00542bb9c3db00dcac4be","user":{"login":"nvtanh","id":5591946,"avatar_url":"https://avatars.githubusercontent.com/u/5591946?v=3","gravatar_id":"","url":"https://api.github.com/users/nvtanh","html_url":"https://github.com/nvtanh","followers_url":"https://api.github.com/users/nvtanh/followers","following_url":"https://api.github.com/users/nvtanh/following{/other_user}","gists_url":"https://api.github.com/users/nvtanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nvtanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvtanh/subscriptions","organizations_url":"https://api.github.com/users/nvtanh/orgs","repos_url":"https://api.github.com/users/nvtanh/repos","events_url":"https://api.github.com/users/nvtanh/events{/privacy}","received_events_url":"https://api.github.com/users/nvtanh/received_events","type":"User","site_admin":false},"body":"có link shop rồi mà\r\nmà chỗ này dùng delegate luôn nhé ","created_at":"2016-09-23T03:53:13Z","updated_at":"2016-09-23T03:53:23Z","html_url":"https://github.com/framgia/fdf_12/pull/34#discussion_r80178294","pull_request_url":"https://api.github.com/repos/framgia/fdf_12/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/framgia/fdf_12/pulls/comments/80178294"},"html":{"href":"https://github.com/framgia/fdf_12/pull/34#discussion_r80178294"},"pull_request":{"href":"https://api.github.com/repos/framgia/fdf_12/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fdf_12/pulls/34","id":86447186,"html_url":"https://github.com/framgia/fdf_12/pull/34","diff_url":"https://github.com/framgia/fdf_12/pull/34.diff","patch_url":"https://github.com/framgia/fdf_12/pull/34.patch","issue_url":"https://api.github.com/repos/framgia/fdf_12/issues/34","number":34,"state":"open","locked":false,"title":"Home page","user":{"login":"phandinhman","id":10833369,"avatar_url":"https://avatars.githubusercontent.com/u/10833369?v=3","gravatar_id":"","url":"https://api.github.com/users/phandinhman","html_url":"https://github.com/phandinhman","followers_url":"https://api.github.com/users/phandinhman/followers","following_url":"https://api.github.com/users/phandinhman/following{/other_user}","gists_url":"https://api.github.com/users/phandinhman/gists{/gist_id}","starred_url":"https://api.github.com/users/phandinhman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phandinhman/subscriptions","organizations_url":"https://api.github.com/users/phandinhman/orgs","repos_url":"https://api.github.com/users/phandinhman/repos","events_url":"https://api.github.com/users/phandinhman/events{/privacy}","received_events_url":"https://api.github.com/users/phandinhman/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-23T02:57:52Z","updated_at":"2016-09-23T03:53:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82df8eba175bea287eeb579a21b0db05a48da876","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fdf_12/pulls/34/commits","review_comments_url":"https://api.github.com/repos/framgia/fdf_12/pulls/34/comments","review_comment_url":"https://api.github.com/repos/framgia/fdf_12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fdf_12/issues/34/comments","statuses_url":"https://api.github.com/repos/framgia/fdf_12/statuses/ab24acca8b4aff98d8c00542bb9c3db00dcac4be","head":{"label":"phandinhman:home_page","ref":"home_page","sha":"ab24acca8b4aff98d8c00542bb9c3db00dcac4be","user":{"login":"phandinhman","id":10833369,"avatar_url":"https://avatars.githubusercontent.com/u/10833369?v=3","gravatar_id":"","url":"https://api.github.com/users/phandinhman","html_url":"https://github.com/phandinhman","followers_url":"https://api.github.com/users/phandinhman/followers","following_url":"https://api.github.com/users/phandinhman/following{/other_user}","gists_url":"https://api.github.com/users/phandinhman/gists{/gist_id}","starred_url":"https://api.github.com/users/phandinhman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phandinhman/subscriptions","organizations_url":"https://api.github.com/users/phandinhman/orgs","repos_url":"https://api.github.com/users/phandinhman/repos","events_url":"https://api.github.com/users/phandinhman/events{/privacy}","received_events_url":"https://api.github.com/users/phandinhman/received_events","type":"User","site_admin":false},"repo":{"id":68257292,"name":"fdf_12","full_name":"phandinhman/fdf_12","owner":{"login":"phandinhman","id":10833369,"avatar_url":"https://avatars.githubusercontent.com/u/10833369?v=3","gravatar_id":"","url":"https://api.github.com/users/phandinhman","html_url":"https://github.com/phandinhman","followers_url":"https://api.github.com/users/phandinhman/followers","following_url":"https://api.github.com/users/phandinhman/following{/other_user}","gists_url":"https://api.github.com/users/phandinhman/gists{/gist_id}","starred_url":"https://api.github.com/users/phandinhman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phandinhman/subscriptions","organizations_url":"https://api.github.com/users/phandinhman/orgs","repos_url":"https://api.github.com/users/phandinhman/repos","events_url":"https://api.github.com/users/phandinhman/events{/privacy}","received_events_url":"https://api.github.com/users/phandinhman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phandinhman/fdf_12","description":"[DN] Food & Drink Ordering Web app. Production project after finishing the training.","fork":true,"url":"https://api.github.com/repos/phandinhman/fdf_12","forks_url":"https://api.github.com/repos/phandinhman/fdf_12/forks","keys_url":"https://api.github.com/repos/phandinhman/fdf_12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phandinhman/fdf_12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phandinhman/fdf_12/teams","hooks_url":"https://api.github.com/repos/phandinhman/fdf_12/hooks","issue_events_url":"https://api.github.com/repos/phandinhman/fdf_12/issues/events{/number}","events_url":"https://api.github.com/repos/phandinhman/fdf_12/events","assignees_url":"https://api.github.com/repos/phandinhman/fdf_12/assignees{/user}","branches_url":"https://api.github.com/repos/phandinhman/fdf_12/branches{/branch}","tags_url":"https://api.github.com/repos/phandinhman/fdf_12/tags","blobs_url":"https://api.github.com/repos/phandinhman/fdf_12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phandinhman/fdf_12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phandinhman/fdf_12/git/refs{/sha}","trees_url":"https://api.github.com/repos/phandinhman/fdf_12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phandinhman/fdf_12/statuses/{sha}","languages_url":"https://api.github.com/repos/phandinhman/fdf_12/languages","stargazers_url":"https://api.github.com/repos/phandinhman/fdf_12/stargazers","contributors_url":"https://api.github.com/repos/phandinhman/fdf_12/contributors","subscribers_url":"https://api.github.com/repos/phandinhman/fdf_12/subscribers","subscription_url":"https://api.github.com/repos/phandinhman/fdf_12/subscription","commits_url":"https://api.github.com/repos/phandinhman/fdf_12/commits{/sha}","git_commits_url":"https://api.github.com/repos/phandinhman/fdf_12/git/commits{/sha}","comments_url":"https://api.github.com/repos/phandinhman/fdf_12/comments{/number}","issue_comment_url":"https://api.github.com/repos/phandinhman/fdf_12/issues/comments{/number}","contents_url":"https://api.github.com/repos/phandinhman/fdf_12/contents/{+path}","compare_url":"https://api.github.com/repos/phandinhman/fdf_12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phandinhman/fdf_12/merges","archive_url":"https://api.github.com/repos/phandinhman/fdf_12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phandinhman/fdf_12/downloads","issues_url":"https://api.github.com/repos/phandinhman/fdf_12/issues{/number}","pulls_url":"https://api.github.com/repos/phandinhman/fdf_12/pulls{/number}","milestones_url":"https://api.github.com/repos/phandinhman/fdf_12/milestones{/number}","notifications_url":"https://api.github.com/repos/phandinhman/fdf_12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phandinhman/fdf_12/labels{/name}","releases_url":"https://api.github.com/repos/phandinhman/fdf_12/releases{/id}","deployments_url":"https://api.github.com/repos/phandinhman/fdf_12/deployments","created_at":"2016-09-15T01:24:33Z","updated_at":"2016-09-13T08:32:53Z","pushed_at":"2016-09-23T03:41:19Z","git_url":"git://github.com/phandinhman/fdf_12.git","ssh_url":"git@github.com:phandinhman/fdf_12.git","clone_url":"https://github.com/phandinhman/fdf_12.git","svn_url":"https://github.com/phandinhman/fdf_12","homepage":null,"size":4578,"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":"3be87b803816dd37ffdb260adff255c4a70098d7","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":68090103,"name":"fdf_12","full_name":"framgia/fdf_12","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/fdf_12","description":"[DN] Food & Drink Ordering Web app. Production project after finishing the training.","fork":false,"url":"https://api.github.com/repos/framgia/fdf_12","forks_url":"https://api.github.com/repos/framgia/fdf_12/forks","keys_url":"https://api.github.com/repos/framgia/fdf_12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fdf_12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fdf_12/teams","hooks_url":"https://api.github.com/repos/framgia/fdf_12/hooks","issue_events_url":"https://api.github.com/repos/framgia/fdf_12/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fdf_12/events","assignees_url":"https://api.github.com/repos/framgia/fdf_12/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fdf_12/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fdf_12/tags","blobs_url":"https://api.github.com/repos/framgia/fdf_12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fdf_12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fdf_12/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fdf_12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fdf_12/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fdf_12/languages","stargazers_url":"https://api.github.com/repos/framgia/fdf_12/stargazers","contributors_url":"https://api.github.com/repos/framgia/fdf_12/contributors","subscribers_url":"https://api.github.com/repos/framgia/fdf_12/subscribers","subscription_url":"https://api.github.com/repos/framgia/fdf_12/subscription","commits_url":"https://api.github.com/repos/framgia/fdf_12/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fdf_12/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fdf_12/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fdf_12/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fdf_12/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fdf_12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fdf_12/merges","archive_url":"https://api.github.com/repos/framgia/fdf_12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fdf_12/downloads","issues_url":"https://api.github.com/repos/framgia/fdf_12/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fdf_12/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fdf_12/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fdf_12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fdf_12/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fdf_12/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fdf_12/deployments","created_at":"2016-09-13T08:32:53Z","updated_at":"2016-09-13T08:32:53Z","pushed_at":"2016-09-23T03:41:19Z","git_url":"git://github.com/framgia/fdf_12.git","ssh_url":"git@github.com:framgia/fdf_12.git","clone_url":"https://github.com/framgia/fdf_12.git","svn_url":"https://github.com/framgia/fdf_12","homepage":null,"size":4579,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fdf_12/pulls/34"},"html":{"href":"https://github.com/framgia/fdf_12/pull/34"},"issue":{"href":"https://api.github.com/repos/framgia/fdf_12/issues/34"},"comments":{"href":"https://api.github.com/repos/framgia/fdf_12/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fdf_12/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fdf_12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fdf_12/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fdf_12/statuses/ab24acca8b4aff98d8c00542bb9c3db00dcac4be"}}}}
{"actor":{"display_login":"nvtanh"}}