{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_36/pulls/comments/34656451","id":34656451,"diff_hunk":"@@ -16,7 +16,9 @@\n   namespace :admin do\n     root to: \"categories#index\"\n     resources :categories, except: :show\n-    resources :users, only: [:index, :update, :destroy]\n+    resources :users, only: [:index, :update, :destroy] do\n+      collection {post :import}","path":"config/routes.rb","position":6,"original_position":6,"commit_id":"f067727b3b4e8e63cef9b24be66c37ef4dc20ff6","original_commit_id":"f067727b3b4e8e63cef9b24be66c37ef4dc20ff6","user":{"login":"yuyuvn","id":6410496,"avatar_url":"https://avatars.githubusercontent.com/u/6410496?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyuvn","html_url":"https://github.com/yuyuvn","followers_url":"https://api.github.com/users/yuyuvn/followers","following_url":"https://api.github.com/users/yuyuvn/following{/other_user}","gists_url":"https://api.github.com/users/yuyuvn/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyuvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyuvn/subscriptions","organizations_url":"https://api.github.com/users/yuyuvn/orgs","repos_url":"https://api.github.com/users/yuyuvn/repos","events_url":"https://api.github.com/users/yuyuvn/events{/privacy}","received_events_url":"https://api.github.com/users/yuyuvn/received_events","type":"User","site_admin":false},"body":"not restful","created_at":"2015-07-15T08:27:33Z","updated_at":"2015-07-15T08:27:33Z","html_url":"https://github.com/framgia/fts_36/pull/21#discussion_r34656451","pull_request_url":"https://api.github.com/repos/framgia/fts_36/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_36/pulls/comments/34656451"},"html":{"href":"https://github.com/framgia/fts_36/pull/21#discussion_r34656451"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_36/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_36/pulls/21","id":39997072,"html_url":"https://github.com/framgia/fts_36/pull/21","diff_url":"https://github.com/framgia/fts_36/pull/21.diff","patch_url":"https://github.com/framgia/fts_36/pull/21.patch","issue_url":"https://api.github.com/repos/framgia/fts_36/issues/21","number":21,"state":"open","locked":false,"title":"import and export","user":{"login":"phunghangbk","id":9583965,"avatar_url":"https://avatars.githubusercontent.com/u/9583965?v=3","gravatar_id":"","url":"https://api.github.com/users/phunghangbk","html_url":"https://github.com/phunghangbk","followers_url":"https://api.github.com/users/phunghangbk/followers","following_url":"https://api.github.com/users/phunghangbk/following{/other_user}","gists_url":"https://api.github.com/users/phunghangbk/gists{/gist_id}","starred_url":"https://api.github.com/users/phunghangbk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phunghangbk/subscriptions","organizations_url":"https://api.github.com/users/phunghangbk/orgs","repos_url":"https://api.github.com/users/phunghangbk/repos","events_url":"https://api.github.com/users/phunghangbk/events{/privacy}","received_events_url":"https://api.github.com/users/phunghangbk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-15T08:03:32Z","updated_at":"2015-07-15T08:27:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e10e70c70a6efde2fc8d02ed1921bb30c98c1466","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_36/pulls/21/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_36/pulls/21/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_36/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_36/issues/21/comments","statuses_url":"https://api.github.com/repos/framgia/fts_36/statuses/f067727b3b4e8e63cef9b24be66c37ef4dc20ff6","head":{"label":"phunghangbk:import_csv","ref":"import_csv","sha":"f067727b3b4e8e63cef9b24be66c37ef4dc20ff6","user":{"login":"phunghangbk","id":9583965,"avatar_url":"https://avatars.githubusercontent.com/u/9583965?v=3","gravatar_id":"","url":"https://api.github.com/users/phunghangbk","html_url":"https://github.com/phunghangbk","followers_url":"https://api.github.com/users/phunghangbk/followers","following_url":"https://api.github.com/users/phunghangbk/following{/other_user}","gists_url":"https://api.github.com/users/phunghangbk/gists{/gist_id}","starred_url":"https://api.github.com/users/phunghangbk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phunghangbk/subscriptions","organizations_url":"https://api.github.com/users/phunghangbk/orgs","repos_url":"https://api.github.com/users/phunghangbk/repos","events_url":"https://api.github.com/users/phunghangbk/events{/privacy}","received_events_url":"https://api.github.com/users/phunghangbk/received_events","type":"User","site_admin":false},"repo":{"id":38606134,"name":"fts_36","full_name":"phunghangbk/fts_36","owner":{"login":"phunghangbk","id":9583965,"avatar_url":"https://avatars.githubusercontent.com/u/9583965?v=3","gravatar_id":"","url":"https://api.github.com/users/phunghangbk","html_url":"https://github.com/phunghangbk","followers_url":"https://api.github.com/users/phunghangbk/followers","following_url":"https://api.github.com/users/phunghangbk/following{/other_user}","gists_url":"https://api.github.com/users/phunghangbk/gists{/gist_id}","starred_url":"https://api.github.com/users/phunghangbk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phunghangbk/subscriptions","organizations_url":"https://api.github.com/users/phunghangbk/orgs","repos_url":"https://api.github.com/users/phunghangbk/repos","events_url":"https://api.github.com/users/phunghangbk/events{/privacy}","received_events_url":"https://api.github.com/users/phunghangbk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phunghangbk/fts_36","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/phunghangbk/fts_36","forks_url":"https://api.github.com/repos/phunghangbk/fts_36/forks","keys_url":"https://api.github.com/repos/phunghangbk/fts_36/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phunghangbk/fts_36/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phunghangbk/fts_36/teams","hooks_url":"https://api.github.com/repos/phunghangbk/fts_36/hooks","issue_events_url":"https://api.github.com/repos/phunghangbk/fts_36/issues/events{/number}","events_url":"https://api.github.com/repos/phunghangbk/fts_36/events","assignees_url":"https://api.github.com/repos/phunghangbk/fts_36/assignees{/user}","branches_url":"https://api.github.com/repos/phunghangbk/fts_36/branches{/branch}","tags_url":"https://api.github.com/repos/phunghangbk/fts_36/tags","blobs_url":"https://api.github.com/repos/phunghangbk/fts_36/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phunghangbk/fts_36/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phunghangbk/fts_36/git/refs{/sha}","trees_url":"https://api.github.com/repos/phunghangbk/fts_36/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phunghangbk/fts_36/statuses/{sha}","languages_url":"https://api.github.com/repos/phunghangbk/fts_36/languages","stargazers_url":"https://api.github.com/repos/phunghangbk/fts_36/stargazers","contributors_url":"https://api.github.com/repos/phunghangbk/fts_36/contributors","subscribers_url":"https://api.github.com/repos/phunghangbk/fts_36/subscribers","subscription_url":"https://api.github.com/repos/phunghangbk/fts_36/subscription","commits_url":"https://api.github.com/repos/phunghangbk/fts_36/commits{/sha}","git_commits_url":"https://api.github.com/repos/phunghangbk/fts_36/git/commits{/sha}","comments_url":"https://api.github.com/repos/phunghangbk/fts_36/comments{/number}","issue_comment_url":"https://api.github.com/repos/phunghangbk/fts_36/issues/comments{/number}","contents_url":"https://api.github.com/repos/phunghangbk/fts_36/contents/{+path}","compare_url":"https://api.github.com/repos/phunghangbk/fts_36/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phunghangbk/fts_36/merges","archive_url":"https://api.github.com/repos/phunghangbk/fts_36/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phunghangbk/fts_36/downloads","issues_url":"https://api.github.com/repos/phunghangbk/fts_36/issues{/number}","pulls_url":"https://api.github.com/repos/phunghangbk/fts_36/pulls{/number}","milestones_url":"https://api.github.com/repos/phunghangbk/fts_36/milestones{/number}","notifications_url":"https://api.github.com/repos/phunghangbk/fts_36/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phunghangbk/fts_36/labels{/name}","releases_url":"https://api.github.com/repos/phunghangbk/fts_36/releases{/id}","created_at":"2015-07-06T08:15:28Z","updated_at":"2015-07-06T02:09:30Z","pushed_at":"2015-07-15T08:21:49Z","git_url":"git://github.com/phunghangbk/fts_36.git","ssh_url":"git@github.com:phunghangbk/fts_36.git","clone_url":"https://github.com/phunghangbk/fts_36.git","svn_url":"https://github.com/phunghangbk/fts_36","homepage":null,"size":180,"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":"ede1467b19d2706a0be60693749dad94f61ebe55","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":38592595,"name":"fts_36","full_name":"framgia/fts_36","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/fts_36","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_36","forks_url":"https://api.github.com/repos/framgia/fts_36/forks","keys_url":"https://api.github.com/repos/framgia/fts_36/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_36/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_36/teams","hooks_url":"https://api.github.com/repos/framgia/fts_36/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_36/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_36/events","assignees_url":"https://api.github.com/repos/framgia/fts_36/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_36/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_36/tags","blobs_url":"https://api.github.com/repos/framgia/fts_36/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_36/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_36/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_36/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_36/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_36/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_36/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_36/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_36/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_36/subscription","commits_url":"https://api.github.com/repos/framgia/fts_36/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_36/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_36/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_36/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_36/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_36/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_36/merges","archive_url":"https://api.github.com/repos/framgia/fts_36/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_36/downloads","issues_url":"https://api.github.com/repos/framgia/fts_36/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_36/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_36/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_36/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_36/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_36/releases{/id}","created_at":"2015-07-06T02:09:30Z","updated_at":"2015-07-06T02:09:30Z","pushed_at":"2015-07-15T08:21:49Z","git_url":"git://github.com/framgia/fts_36.git","ssh_url":"git@github.com:framgia/fts_36.git","clone_url":"https://github.com/framgia/fts_36.git","svn_url":"https://github.com/framgia/fts_36","homepage":null,"size":720,"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":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_36/pulls/21"},"html":{"href":"https://github.com/framgia/fts_36/pull/21"},"issue":{"href":"https://api.github.com/repos/framgia/fts_36/issues/21"},"comments":{"href":"https://api.github.com/repos/framgia/fts_36/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_36/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_36/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_36/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_36/statuses/f067727b3b4e8e63cef9b24be66c37ef4dc20ff6"}}}}