{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fitm/pulls/comments/175334983","pull_request_review_id":104844844,"id":175334983,"diff_hunk":"@@ -7,11 +7,24 @@ class ApplicationController < ActionController::Base\n   include CoursesHelper\n   include RatingsHelper\n   include ApplicationHelper\n+  helper_method :load_learning_schedules, :load_training_schedules","path":"app/controllers/application_controller.rb","position":4,"original_position":4,"commit_id":"237e72f9ab3e099314bc6b8703501a8be93b9df3","original_commit_id":"237e72f9ab3e099314bc6b8703501a8be93b9df3","user":{"login":"dothidiemthao","id":21377118,"avatar_url":"https://avatars0.githubusercontent.com/u/21377118?v=4","gravatar_id":"","url":"https://api.github.com/users/dothidiemthao","html_url":"https://github.com/dothidiemthao","followers_url":"https://api.github.com/users/dothidiemthao/followers","following_url":"https://api.github.com/users/dothidiemthao/following{/other_user}","gists_url":"https://api.github.com/users/dothidiemthao/gists{/gist_id}","starred_url":"https://api.github.com/users/dothidiemthao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dothidiemthao/subscriptions","organizations_url":"https://api.github.com/users/dothidiemthao/orgs","repos_url":"https://api.github.com/users/dothidiemthao/repos","events_url":"https://api.github.com/users/dothidiemthao/events{/privacy}","received_events_url":"https://api.github.com/users/dothidiemthao/received_events","type":"User","site_admin":false},"body":"mục đich của line này là gì em?","created_at":"2018-03-19T05:37:44Z","updated_at":"2018-03-19T05:37:47Z","html_url":"https://github.com/framgia/fitm/pull/77#discussion_r175334983","pull_request_url":"https://api.github.com/repos/framgia/fitm/pulls/77","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/fitm/pulls/comments/175334983"},"html":{"href":"https://github.com/framgia/fitm/pull/77#discussion_r175334983"},"pull_request":{"href":"https://api.github.com/repos/framgia/fitm/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fitm/pulls/77","id":174968652,"html_url":"https://github.com/framgia/fitm/pull/77","diff_url":"https://github.com/framgia/fitm/pull/77.diff","patch_url":"https://github.com/framgia/fitm/pull/77.patch","issue_url":"https://api.github.com/repos/framgia/fitm/issues/77","number":77,"state":"open","locked":false,"title":"[User] Display training schedules ","user":{"login":"annhoang191","id":26008406,"avatar_url":"https://avatars2.githubusercontent.com/u/26008406?v=4","gravatar_id":"","url":"https://api.github.com/users/annhoang191","html_url":"https://github.com/annhoang191","followers_url":"https://api.github.com/users/annhoang191/followers","following_url":"https://api.github.com/users/annhoang191/following{/other_user}","gists_url":"https://api.github.com/users/annhoang191/gists{/gist_id}","starred_url":"https://api.github.com/users/annhoang191/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annhoang191/subscriptions","organizations_url":"https://api.github.com/users/annhoang191/orgs","repos_url":"https://api.github.com/users/annhoang191/repos","events_url":"https://api.github.com/users/annhoang191/events{/privacy}","received_events_url":"https://api.github.com/users/annhoang191/received_events","type":"User","site_admin":false},"body":"Chức năng xem tất cả lịch biểu của toàn bộ các khóa học của user\r\nYêu cầu:\r\n+ Chỉ hiển thị lịch biểu của các course mà user tham gia giảng dạy hoặc tham gia học (đã được duyệt)\r\n+ Cho phép xem theo tháng, tuần\r\nrubocop:\r\n![image](https://user-images.githubusercontent.com/26008406/37446368-2e17334e-284f-11e8-99a3-6184740021d7.png)\r\nrspec:\r\n![image](https://user-images.githubusercontent.com/26008406/37446354-1ad6bc78-284f-11e8-8cdb-3c02417886cf.png)\r\ngiao diện: \r\n![image](https://user-images.githubusercontent.com/26008406/37576198-c180a8f2-2b5d-11e8-9bb9-2dd730a99a6f.png)\r\n![image](https://user-images.githubusercontent.com/26008406/37576203-d08f14d2-2b5d-11e8-958e-8745f103a808.png)\r\n\r\n","created_at":"2018-03-14T14:15:24Z","updated_at":"2018-03-19T05:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e3c80eefce332e013787a4727e02cab55476d87","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fitm/pulls/77/commits","review_comments_url":"https://api.github.com/repos/framgia/fitm/pulls/77/comments","review_comment_url":"https://api.github.com/repos/framgia/fitm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fitm/issues/77/comments","statuses_url":"https://api.github.com/repos/framgia/fitm/statuses/237e72f9ab3e099314bc6b8703501a8be93b9df3","head":{"label":"annhoang191:display-training-schedules","ref":"display-training-schedules","sha":"237e72f9ab3e099314bc6b8703501a8be93b9df3","user":{"login":"annhoang191","id":26008406,"avatar_url":"https://avatars2.githubusercontent.com/u/26008406?v=4","gravatar_id":"","url":"https://api.github.com/users/annhoang191","html_url":"https://github.com/annhoang191","followers_url":"https://api.github.com/users/annhoang191/followers","following_url":"https://api.github.com/users/annhoang191/following{/other_user}","gists_url":"https://api.github.com/users/annhoang191/gists{/gist_id}","starred_url":"https://api.github.com/users/annhoang191/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annhoang191/subscriptions","organizations_url":"https://api.github.com/users/annhoang191/orgs","repos_url":"https://api.github.com/users/annhoang191/repos","events_url":"https://api.github.com/users/annhoang191/events{/privacy}","received_events_url":"https://api.github.com/users/annhoang191/received_events","type":"User","site_admin":false},"repo":{"id":122303418,"name":"fitm","full_name":"annhoang191/fitm","owner":{"login":"annhoang191","id":26008406,"avatar_url":"https://avatars2.githubusercontent.com/u/26008406?v=4","gravatar_id":"","url":"https://api.github.com/users/annhoang191","html_url":"https://github.com/annhoang191","followers_url":"https://api.github.com/users/annhoang191/followers","following_url":"https://api.github.com/users/annhoang191/following{/other_user}","gists_url":"https://api.github.com/users/annhoang191/gists{/gist_id}","starred_url":"https://api.github.com/users/annhoang191/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annhoang191/subscriptions","organizations_url":"https://api.github.com/users/annhoang191/orgs","repos_url":"https://api.github.com/users/annhoang191/repos","events_url":"https://api.github.com/users/annhoang191/events{/privacy}","received_events_url":"https://api.github.com/users/annhoang191/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annhoang191/fitm","description":null,"fork":true,"url":"https://api.github.com/repos/annhoang191/fitm","forks_url":"https://api.github.com/repos/annhoang191/fitm/forks","keys_url":"https://api.github.com/repos/annhoang191/fitm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annhoang191/fitm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annhoang191/fitm/teams","hooks_url":"https://api.github.com/repos/annhoang191/fitm/hooks","issue_events_url":"https://api.github.com/repos/annhoang191/fitm/issues/events{/number}","events_url":"https://api.github.com/repos/annhoang191/fitm/events","assignees_url":"https://api.github.com/repos/annhoang191/fitm/assignees{/user}","branches_url":"https://api.github.com/repos/annhoang191/fitm/branches{/branch}","tags_url":"https://api.github.com/repos/annhoang191/fitm/tags","blobs_url":"https://api.github.com/repos/annhoang191/fitm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annhoang191/fitm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annhoang191/fitm/git/refs{/sha}","trees_url":"https://api.github.com/repos/annhoang191/fitm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annhoang191/fitm/statuses/{sha}","languages_url":"https://api.github.com/repos/annhoang191/fitm/languages","stargazers_url":"https://api.github.com/repos/annhoang191/fitm/stargazers","contributors_url":"https://api.github.com/repos/annhoang191/fitm/contributors","subscribers_url":"https://api.github.com/repos/annhoang191/fitm/subscribers","subscription_url":"https://api.github.com/repos/annhoang191/fitm/subscription","commits_url":"https://api.github.com/repos/annhoang191/fitm/commits{/sha}","git_commits_url":"https://api.github.com/repos/annhoang191/fitm/git/commits{/sha}","comments_url":"https://api.github.com/repos/annhoang191/fitm/comments{/number}","issue_comment_url":"https://api.github.com/repos/annhoang191/fitm/issues/comments{/number}","contents_url":"https://api.github.com/repos/annhoang191/fitm/contents/{+path}","compare_url":"https://api.github.com/repos/annhoang191/fitm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annhoang191/fitm/merges","archive_url":"https://api.github.com/repos/annhoang191/fitm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annhoang191/fitm/downloads","issues_url":"https://api.github.com/repos/annhoang191/fitm/issues{/number}","pulls_url":"https://api.github.com/repos/annhoang191/fitm/pulls{/number}","milestones_url":"https://api.github.com/repos/annhoang191/fitm/milestones{/number}","notifications_url":"https://api.github.com/repos/annhoang191/fitm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annhoang191/fitm/labels{/name}","releases_url":"https://api.github.com/repos/annhoang191/fitm/releases{/id}","deployments_url":"https://api.github.com/repos/annhoang191/fitm/deployments","created_at":"2018-02-21T07:08:56Z","updated_at":"2018-02-21T07:08:58Z","pushed_at":"2018-03-19T04:19:49Z","git_url":"git://github.com/annhoang191/fitm.git","ssh_url":"git@github.com:annhoang191/fitm.git","clone_url":"https://github.com/annhoang191/fitm.git","svn_url":"https://github.com/annhoang191/fitm","homepage":null,"size":2389,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"dbdf1045a3a9c2d67a028d936f47dc46c00d6e54","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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":118543442,"name":"fitm","full_name":"framgia/fitm","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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/fitm","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/fitm","forks_url":"https://api.github.com/repos/framgia/fitm/forks","keys_url":"https://api.github.com/repos/framgia/fitm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fitm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fitm/teams","hooks_url":"https://api.github.com/repos/framgia/fitm/hooks","issue_events_url":"https://api.github.com/repos/framgia/fitm/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fitm/events","assignees_url":"https://api.github.com/repos/framgia/fitm/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fitm/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fitm/tags","blobs_url":"https://api.github.com/repos/framgia/fitm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fitm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fitm/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fitm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fitm/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fitm/languages","stargazers_url":"https://api.github.com/repos/framgia/fitm/stargazers","contributors_url":"https://api.github.com/repos/framgia/fitm/contributors","subscribers_url":"https://api.github.com/repos/framgia/fitm/subscribers","subscription_url":"https://api.github.com/repos/framgia/fitm/subscription","commits_url":"https://api.github.com/repos/framgia/fitm/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fitm/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fitm/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fitm/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fitm/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fitm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fitm/merges","archive_url":"https://api.github.com/repos/framgia/fitm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fitm/downloads","issues_url":"https://api.github.com/repos/framgia/fitm/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fitm/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fitm/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fitm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fitm/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fitm/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fitm/deployments","created_at":"2018-01-23T02:06:18Z","updated_at":"2018-03-16T12:22:54Z","pushed_at":"2018-03-19T04:22:05Z","git_url":"git://github.com/framgia/fitm.git","ssh_url":"git@github.com:framgia/fitm.git","clone_url":"https://github.com/framgia/fitm.git","svn_url":"https://github.com/framgia/fitm","homepage":null,"size":2366,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":14,"open_issues":9,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fitm/pulls/77"},"html":{"href":"https://github.com/framgia/fitm/pull/77"},"issue":{"href":"https://api.github.com/repos/framgia/fitm/issues/77"},"comments":{"href":"https://api.github.com/repos/framgia/fitm/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fitm/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fitm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fitm/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fitm/statuses/237e72f9ab3e099314bc6b8703501a8be93b9df3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dothidiemthao"}}