{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_113/pulls/comments/53887000","id":53887000,"diff_hunk":"@@ -0,0 +1,17 @@\n+class StaticPagesController < ApplicationController\n+  before_action :authorize_user, only: [:home]\n+\n+  def home\n+  end\n+\n+  def help\n+  end\n+\n+  def about\n+  end\n+\n+  private\n+  def authorize_user\n+      render \"welcome\" unless signed_in?","path":"app/controllers/static_pages_controller.rb","position":15,"original_position":15,"commit_id":"9086c89a05c2e77afe342c83e230d00ac692357e","original_commit_id":"9086c89a05c2e77afe342c83e230d00ac692357e","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.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":"ident, check ở view thì hợp lí hơn","created_at":"2016-02-24T02:46:45Z","updated_at":"2016-02-24T02:46:45Z","html_url":"https://github.com/framgia/fels_113/pull/1#discussion_r53887000","pull_request_url":"https://api.github.com/repos/framgia/fels_113/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_113/pulls/comments/53887000"},"html":{"href":"https://github.com/framgia/fels_113/pull/1#discussion_r53887000"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_113/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_113/pulls/1","id":60333248,"html_url":"https://github.com/framgia/fels_113/pull/1","diff_url":"https://github.com/framgia/fels_113/pull/1.diff","patch_url":"https://github.com/framgia/fels_113/pull/1.patch","issue_url":"https://api.github.com/repos/framgia/fels_113/issues/1","number":1,"state":"open","locked":false,"title":"first commit","user":{"login":"vietmt","id":17056861,"avatar_url":"https://avatars.githubusercontent.com/u/17056861?v=3","gravatar_id":"","url":"https://api.github.com/users/vietmt","html_url":"https://github.com/vietmt","followers_url":"https://api.github.com/users/vietmt/followers","following_url":"https://api.github.com/users/vietmt/following{/other_user}","gists_url":"https://api.github.com/users/vietmt/gists{/gist_id}","starred_url":"https://api.github.com/users/vietmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietmt/subscriptions","organizations_url":"https://api.github.com/users/vietmt/orgs","repos_url":"https://api.github.com/users/vietmt/repos","events_url":"https://api.github.com/users/vietmt/events{/privacy}","received_events_url":"https://api.github.com/users/vietmt/received_events","type":"User","site_admin":false},"body":"- add static pages\r\n- add sign up\r\n- add sign in/sign up","created_at":"2016-02-23T12:37:42Z","updated_at":"2016-02-24T02:46:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aec6e78100d7b78b05f81efd3199721e42911a03","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_113/pulls/1/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_113/pulls/1/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_113/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_113/issues/1/comments","statuses_url":"https://api.github.com/repos/framgia/fels_113/statuses/9086c89a05c2e77afe342c83e230d00ac692357e","head":{"label":"vietmt:static_pages","ref":"static_pages","sha":"9086c89a05c2e77afe342c83e230d00ac692357e","user":{"login":"vietmt","id":17056861,"avatar_url":"https://avatars.githubusercontent.com/u/17056861?v=3","gravatar_id":"","url":"https://api.github.com/users/vietmt","html_url":"https://github.com/vietmt","followers_url":"https://api.github.com/users/vietmt/followers","following_url":"https://api.github.com/users/vietmt/following{/other_user}","gists_url":"https://api.github.com/users/vietmt/gists{/gist_id}","starred_url":"https://api.github.com/users/vietmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietmt/subscriptions","organizations_url":"https://api.github.com/users/vietmt/orgs","repos_url":"https://api.github.com/users/vietmt/repos","events_url":"https://api.github.com/users/vietmt/events{/privacy}","received_events_url":"https://api.github.com/users/vietmt/received_events","type":"User","site_admin":false},"repo":{"id":52334881,"name":"fels_113","full_name":"vietmt/fels_113","owner":{"login":"vietmt","id":17056861,"avatar_url":"https://avatars.githubusercontent.com/u/17056861?v=3","gravatar_id":"","url":"https://api.github.com/users/vietmt","html_url":"https://github.com/vietmt","followers_url":"https://api.github.com/users/vietmt/followers","following_url":"https://api.github.com/users/vietmt/following{/other_user}","gists_url":"https://api.github.com/users/vietmt/gists{/gist_id}","starred_url":"https://api.github.com/users/vietmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietmt/subscriptions","organizations_url":"https://api.github.com/users/vietmt/orgs","repos_url":"https://api.github.com/users/vietmt/repos","events_url":"https://api.github.com/users/vietmt/events{/privacy}","received_events_url":"https://api.github.com/users/vietmt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vietmt/fels_113","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/vietmt/fels_113","forks_url":"https://api.github.com/repos/vietmt/fels_113/forks","keys_url":"https://api.github.com/repos/vietmt/fels_113/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vietmt/fels_113/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vietmt/fels_113/teams","hooks_url":"https://api.github.com/repos/vietmt/fels_113/hooks","issue_events_url":"https://api.github.com/repos/vietmt/fels_113/issues/events{/number}","events_url":"https://api.github.com/repos/vietmt/fels_113/events","assignees_url":"https://api.github.com/repos/vietmt/fels_113/assignees{/user}","branches_url":"https://api.github.com/repos/vietmt/fels_113/branches{/branch}","tags_url":"https://api.github.com/repos/vietmt/fels_113/tags","blobs_url":"https://api.github.com/repos/vietmt/fels_113/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vietmt/fels_113/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vietmt/fels_113/git/refs{/sha}","trees_url":"https://api.github.com/repos/vietmt/fels_113/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vietmt/fels_113/statuses/{sha}","languages_url":"https://api.github.com/repos/vietmt/fels_113/languages","stargazers_url":"https://api.github.com/repos/vietmt/fels_113/stargazers","contributors_url":"https://api.github.com/repos/vietmt/fels_113/contributors","subscribers_url":"https://api.github.com/repos/vietmt/fels_113/subscribers","subscription_url":"https://api.github.com/repos/vietmt/fels_113/subscription","commits_url":"https://api.github.com/repos/vietmt/fels_113/commits{/sha}","git_commits_url":"https://api.github.com/repos/vietmt/fels_113/git/commits{/sha}","comments_url":"https://api.github.com/repos/vietmt/fels_113/comments{/number}","issue_comment_url":"https://api.github.com/repos/vietmt/fels_113/issues/comments{/number}","contents_url":"https://api.github.com/repos/vietmt/fels_113/contents/{+path}","compare_url":"https://api.github.com/repos/vietmt/fels_113/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vietmt/fels_113/merges","archive_url":"https://api.github.com/repos/vietmt/fels_113/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vietmt/fels_113/downloads","issues_url":"https://api.github.com/repos/vietmt/fels_113/issues{/number}","pulls_url":"https://api.github.com/repos/vietmt/fels_113/pulls{/number}","milestones_url":"https://api.github.com/repos/vietmt/fels_113/milestones{/number}","notifications_url":"https://api.github.com/repos/vietmt/fels_113/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vietmt/fels_113/labels{/name}","releases_url":"https://api.github.com/repos/vietmt/fels_113/releases{/id}","deployments_url":"https://api.github.com/repos/vietmt/fels_113/deployments","created_at":"2016-02-23T06:05:13Z","updated_at":"2016-02-22T02:45:16Z","pushed_at":"2016-02-24T02:26:29Z","git_url":"git://github.com/vietmt/fels_113.git","ssh_url":"git@github.com:vietmt/fels_113.git","clone_url":"https://github.com/vietmt/fels_113.git","svn_url":"https://github.com/vietmt/fels_113","homepage":null,"size":29,"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":"c917708c8726fab668dd2ceea4c79d53dbb7459e","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":52242086,"name":"fels_113","full_name":"framgia/fels_113","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_113","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_113","forks_url":"https://api.github.com/repos/framgia/fels_113/forks","keys_url":"https://api.github.com/repos/framgia/fels_113/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_113/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_113/teams","hooks_url":"https://api.github.com/repos/framgia/fels_113/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_113/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_113/events","assignees_url":"https://api.github.com/repos/framgia/fels_113/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_113/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_113/tags","blobs_url":"https://api.github.com/repos/framgia/fels_113/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_113/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_113/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_113/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_113/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_113/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_113/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_113/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_113/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_113/subscription","commits_url":"https://api.github.com/repos/framgia/fels_113/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_113/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_113/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_113/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_113/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_113/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_113/merges","archive_url":"https://api.github.com/repos/framgia/fels_113/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_113/downloads","issues_url":"https://api.github.com/repos/framgia/fels_113/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_113/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_113/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_113/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_113/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_113/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_113/deployments","created_at":"2016-02-22T02:45:16Z","updated_at":"2016-02-22T02:45:16Z","pushed_at":"2016-02-24T02:26:29Z","git_url":"git://github.com/framgia/fels_113.git","ssh_url":"git@github.com:framgia/fels_113.git","clone_url":"https://github.com/framgia/fels_113.git","svn_url":"https://github.com/framgia/fels_113","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_113/pulls/1"},"html":{"href":"https://github.com/framgia/fels_113/pull/1"},"issue":{"href":"https://api.github.com/repos/framgia/fels_113/issues/1"},"comments":{"href":"https://api.github.com/repos/framgia/fels_113/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_113/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_113/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_113/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_113/statuses/9086c89a05c2e77afe342c83e230d00ac692357e"}}}}