{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_146/pulls/comments/68701946","id":68701946,"diff_hunk":"@@ -30,7 +30,20 @@ def update\n     end\n   end\n \n+  def destroy\n+    @word.destroy\n+    flash[:success] = t \"controllers.admin.words.flash.success.delete_word\"\n+    redirect_to admin_words_path\n+  end\n+\n   private\n+  def check_lesson_words","path":"app/controllers/admin/words_controller.rb","position":11,"original_position":11,"commit_id":"d49d25cb80405247212b349b477770ddde402b2b","original_commit_id":"d49d25cb80405247212b349b477770ddde402b2b","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"Dùng ở đâu nhỉ?","created_at":"2016-06-28T06:08:59Z","updated_at":"2016-06-28T06:08:59Z","html_url":"https://github.com/framgia/fels_146/pull/25#discussion_r68701946","pull_request_url":"https://api.github.com/repos/framgia/fels_146/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/comments/68701946"},"html":{"href":"https://github.com/framgia/fels_146/pull/25#discussion_r68701946"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_146/pulls/25","id":75412132,"html_url":"https://github.com/framgia/fels_146/pull/25","diff_url":"https://github.com/framgia/fels_146/pull/25.diff","patch_url":"https://github.com/framgia/fels_146/pull/25.patch","issue_url":"https://api.github.com/repos/framgia/fels_146/issues/25","number":25,"state":"open","locked":false,"title":"Delete words","user":{"login":"nguyenhad","id":19816147,"avatar_url":"https://avatars.githubusercontent.com/u/19816147?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenhad","html_url":"https://github.com/nguyenhad","followers_url":"https://api.github.com/users/nguyenhad/followers","following_url":"https://api.github.com/users/nguyenhad/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhad/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhad/subscriptions","organizations_url":"https://api.github.com/users/nguyenhad/orgs","repos_url":"https://api.github.com/users/nguyenhad/repos","events_url":"https://api.github.com/users/nguyenhad/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhad/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-28T03:09:12Z","updated_at":"2016-06-28T06:08:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18c5803f55777c8471988368db4cffa1aebf7838","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_146/pulls/25/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_146/pulls/25/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_146/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_146/issues/25/comments","statuses_url":"https://api.github.com/repos/framgia/fels_146/statuses/d49d25cb80405247212b349b477770ddde402b2b","head":{"label":"nguyenhad:delete_words","ref":"delete_words","sha":"d49d25cb80405247212b349b477770ddde402b2b","user":{"login":"nguyenhad","id":19816147,"avatar_url":"https://avatars.githubusercontent.com/u/19816147?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenhad","html_url":"https://github.com/nguyenhad","followers_url":"https://api.github.com/users/nguyenhad/followers","following_url":"https://api.github.com/users/nguyenhad/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhad/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhad/subscriptions","organizations_url":"https://api.github.com/users/nguyenhad/orgs","repos_url":"https://api.github.com/users/nguyenhad/repos","events_url":"https://api.github.com/users/nguyenhad/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhad/received_events","type":"User","site_admin":false},"repo":{"id":61608458,"name":"fels_146","full_name":"nguyenhad/fels_146","owner":{"login":"nguyenhad","id":19816147,"avatar_url":"https://avatars.githubusercontent.com/u/19816147?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenhad","html_url":"https://github.com/nguyenhad","followers_url":"https://api.github.com/users/nguyenhad/followers","following_url":"https://api.github.com/users/nguyenhad/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhad/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhad/subscriptions","organizations_url":"https://api.github.com/users/nguyenhad/orgs","repos_url":"https://api.github.com/users/nguyenhad/repos","events_url":"https://api.github.com/users/nguyenhad/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenhad/fels_146","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/nguyenhad/fels_146","forks_url":"https://api.github.com/repos/nguyenhad/fels_146/forks","keys_url":"https://api.github.com/repos/nguyenhad/fels_146/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenhad/fels_146/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenhad/fels_146/teams","hooks_url":"https://api.github.com/repos/nguyenhad/fels_146/hooks","issue_events_url":"https://api.github.com/repos/nguyenhad/fels_146/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenhad/fels_146/events","assignees_url":"https://api.github.com/repos/nguyenhad/fels_146/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenhad/fels_146/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenhad/fels_146/tags","blobs_url":"https://api.github.com/repos/nguyenhad/fels_146/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenhad/fels_146/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenhad/fels_146/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenhad/fels_146/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenhad/fels_146/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenhad/fels_146/languages","stargazers_url":"https://api.github.com/repos/nguyenhad/fels_146/stargazers","contributors_url":"https://api.github.com/repos/nguyenhad/fels_146/contributors","subscribers_url":"https://api.github.com/repos/nguyenhad/fels_146/subscribers","subscription_url":"https://api.github.com/repos/nguyenhad/fels_146/subscription","commits_url":"https://api.github.com/repos/nguyenhad/fels_146/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenhad/fels_146/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenhad/fels_146/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenhad/fels_146/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenhad/fels_146/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenhad/fels_146/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenhad/fels_146/merges","archive_url":"https://api.github.com/repos/nguyenhad/fels_146/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenhad/fels_146/downloads","issues_url":"https://api.github.com/repos/nguyenhad/fels_146/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenhad/fels_146/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenhad/fels_146/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenhad/fels_146/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenhad/fels_146/labels{/name}","releases_url":"https://api.github.com/repos/nguyenhad/fels_146/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenhad/fels_146/deployments","created_at":"2016-06-21T06:34:04Z","updated_at":"2016-06-20T05:54:01Z","pushed_at":"2016-06-28T03:40:33Z","git_url":"git://github.com/nguyenhad/fels_146.git","ssh_url":"git@github.com:nguyenhad/fels_146.git","clone_url":"https://github.com/nguyenhad/fels_146.git","svn_url":"https://github.com/nguyenhad/fels_146","homepage":null,"size":81,"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":"3da178288f7a34faffa56f2ead5d33eb1c65c747","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":61520364,"name":"fels_146","full_name":"framgia/fels_146","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/fels_146","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_146","forks_url":"https://api.github.com/repos/framgia/fels_146/forks","keys_url":"https://api.github.com/repos/framgia/fels_146/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_146/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_146/teams","hooks_url":"https://api.github.com/repos/framgia/fels_146/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_146/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_146/events","assignees_url":"https://api.github.com/repos/framgia/fels_146/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_146/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_146/tags","blobs_url":"https://api.github.com/repos/framgia/fels_146/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_146/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_146/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_146/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_146/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_146/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_146/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_146/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_146/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_146/subscription","commits_url":"https://api.github.com/repos/framgia/fels_146/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_146/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_146/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_146/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_146/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_146/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_146/merges","archive_url":"https://api.github.com/repos/framgia/fels_146/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_146/downloads","issues_url":"https://api.github.com/repos/framgia/fels_146/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_146/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_146/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_146/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_146/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_146/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_146/deployments","created_at":"2016-06-20T05:54:01Z","updated_at":"2016-06-20T05:54:01Z","pushed_at":"2016-06-28T06:02:59Z","git_url":"git://github.com/framgia/fels_146.git","ssh_url":"git@github.com:framgia/fels_146.git","clone_url":"https://github.com/framgia/fels_146.git","svn_url":"https://github.com/framgia/fels_146","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/25"},"html":{"href":"https://github.com/framgia/fels_146/pull/25"},"issue":{"href":"https://api.github.com/repos/framgia/fels_146/issues/25"},"comments":{"href":"https://api.github.com/repos/framgia/fels_146/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_146/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_146/statuses/d49d25cb80405247212b349b477770ddde402b2b"}}}}
{"actor":{"display_login":"dieunb"}}