{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_41/pulls/comments/47863998","id":47863998,"diff_hunk":"@@ -1,2 +1,46 @@\n class Supervisor::CourseSubjectsController < ApplicationController\n+  before_action :load_subject\n+  before_action :load_task\n+  before_action :load_course\n+\n+  def show\n+    @course= Course.find params[:id]\n+  end\n+\n+  def new\n+\n+    @course= Course.find params[:id]","path":"app/controllers/supervisor/course_subjects_controller.rb","position":12,"original_position":12,"commit_id":"9183b4dba8642bf6ada174348a523e41e44775f7","original_commit_id":"9183b4dba8642bf6ada174348a523e41e44775f7","user":{"login":"noor-framgia","id":14325963,"avatar_url":"https://avatars.githubusercontent.com/u/14325963?v=3","gravatar_id":"","url":"https://api.github.com/users/noor-framgia","html_url":"https://github.com/noor-framgia","followers_url":"https://api.github.com/users/noor-framgia/followers","following_url":"https://api.github.com/users/noor-framgia/following{/other_user}","gists_url":"https://api.github.com/users/noor-framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/noor-framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noor-framgia/subscriptions","organizations_url":"https://api.github.com/users/noor-framgia/orgs","repos_url":"https://api.github.com/users/noor-framgia/repos","events_url":"https://api.github.com/users/noor-framgia/events{/privacy}","received_events_url":"https://api.github.com/users/noor-framgia/received_events","type":"User","site_admin":false},"body":"in course/show.html.erb","created_at":"2015-12-17T02:51:27Z","updated_at":"2015-12-17T02:51:27Z","html_url":"https://github.com/framgia/tms_41/pull/30#discussion_r47863998","pull_request_url":"https://api.github.com/repos/framgia/tms_41/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_41/pulls/comments/47863998"},"html":{"href":"https://github.com/framgia/tms_41/pull/30#discussion_r47863998"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_41/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_41/pulls/30","id":53682016,"html_url":"https://github.com/framgia/tms_41/pull/30","diff_url":"https://github.com/framgia/tms_41/pull/30.diff","patch_url":"https://github.com/framgia/tms_41/pull/30.patch","issue_url":"https://api.github.com/repos/framgia/tms_41/issues/30","number":30,"state":"open","locked":false,"title":"48523_course_task_manipulation","user":{"login":"noor-framgia","id":14325963,"avatar_url":"https://avatars.githubusercontent.com/u/14325963?v=3","gravatar_id":"","url":"https://api.github.com/users/noor-framgia","html_url":"https://github.com/noor-framgia","followers_url":"https://api.github.com/users/noor-framgia/followers","following_url":"https://api.github.com/users/noor-framgia/following{/other_user}","gists_url":"https://api.github.com/users/noor-framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/noor-framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noor-framgia/subscriptions","organizations_url":"https://api.github.com/users/noor-framgia/orgs","repos_url":"https://api.github.com/users/noor-framgia/repos","events_url":"https://api.github.com/users/noor-framgia/events{/privacy}","received_events_url":"https://api.github.com/users/noor-framgia/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-15T10:01:58Z","updated_at":"2015-12-17T02:51:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ebbb4ab919c39b25456b230c264cefb242f60c3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_41/pulls/30/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_41/pulls/30/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_41/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_41/issues/30/comments","statuses_url":"https://api.github.com/repos/framgia/tms_41/statuses/9183b4dba8642bf6ada174348a523e41e44775f7","head":{"label":"noor-framgia:48523_coursr_task_manipulation","ref":"48523_coursr_task_manipulation","sha":"9183b4dba8642bf6ada174348a523e41e44775f7","user":{"login":"noor-framgia","id":14325963,"avatar_url":"https://avatars.githubusercontent.com/u/14325963?v=3","gravatar_id":"","url":"https://api.github.com/users/noor-framgia","html_url":"https://github.com/noor-framgia","followers_url":"https://api.github.com/users/noor-framgia/followers","following_url":"https://api.github.com/users/noor-framgia/following{/other_user}","gists_url":"https://api.github.com/users/noor-framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/noor-framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noor-framgia/subscriptions","organizations_url":"https://api.github.com/users/noor-framgia/orgs","repos_url":"https://api.github.com/users/noor-framgia/repos","events_url":"https://api.github.com/users/noor-framgia/events{/privacy}","received_events_url":"https://api.github.com/users/noor-framgia/received_events","type":"User","site_admin":false},"repo":{"id":47108533,"name":"tms_41","full_name":"noor-framgia/tms_41","owner":{"login":"noor-framgia","id":14325963,"avatar_url":"https://avatars.githubusercontent.com/u/14325963?v=3","gravatar_id":"","url":"https://api.github.com/users/noor-framgia","html_url":"https://github.com/noor-framgia","followers_url":"https://api.github.com/users/noor-framgia/followers","following_url":"https://api.github.com/users/noor-framgia/following{/other_user}","gists_url":"https://api.github.com/users/noor-framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/noor-framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noor-framgia/subscriptions","organizations_url":"https://api.github.com/users/noor-framgia/orgs","repos_url":"https://api.github.com/users/noor-framgia/repos","events_url":"https://api.github.com/users/noor-framgia/events{/privacy}","received_events_url":"https://api.github.com/users/noor-framgia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noor-framgia/tms_41","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/noor-framgia/tms_41","forks_url":"https://api.github.com/repos/noor-framgia/tms_41/forks","keys_url":"https://api.github.com/repos/noor-framgia/tms_41/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noor-framgia/tms_41/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noor-framgia/tms_41/teams","hooks_url":"https://api.github.com/repos/noor-framgia/tms_41/hooks","issue_events_url":"https://api.github.com/repos/noor-framgia/tms_41/issues/events{/number}","events_url":"https://api.github.com/repos/noor-framgia/tms_41/events","assignees_url":"https://api.github.com/repos/noor-framgia/tms_41/assignees{/user}","branches_url":"https://api.github.com/repos/noor-framgia/tms_41/branches{/branch}","tags_url":"https://api.github.com/repos/noor-framgia/tms_41/tags","blobs_url":"https://api.github.com/repos/noor-framgia/tms_41/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noor-framgia/tms_41/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noor-framgia/tms_41/git/refs{/sha}","trees_url":"https://api.github.com/repos/noor-framgia/tms_41/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noor-framgia/tms_41/statuses/{sha}","languages_url":"https://api.github.com/repos/noor-framgia/tms_41/languages","stargazers_url":"https://api.github.com/repos/noor-framgia/tms_41/stargazers","contributors_url":"https://api.github.com/repos/noor-framgia/tms_41/contributors","subscribers_url":"https://api.github.com/repos/noor-framgia/tms_41/subscribers","subscription_url":"https://api.github.com/repos/noor-framgia/tms_41/subscription","commits_url":"https://api.github.com/repos/noor-framgia/tms_41/commits{/sha}","git_commits_url":"https://api.github.com/repos/noor-framgia/tms_41/git/commits{/sha}","comments_url":"https://api.github.com/repos/noor-framgia/tms_41/comments{/number}","issue_comment_url":"https://api.github.com/repos/noor-framgia/tms_41/issues/comments{/number}","contents_url":"https://api.github.com/repos/noor-framgia/tms_41/contents/{+path}","compare_url":"https://api.github.com/repos/noor-framgia/tms_41/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noor-framgia/tms_41/merges","archive_url":"https://api.github.com/repos/noor-framgia/tms_41/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noor-framgia/tms_41/downloads","issues_url":"https://api.github.com/repos/noor-framgia/tms_41/issues{/number}","pulls_url":"https://api.github.com/repos/noor-framgia/tms_41/pulls{/number}","milestones_url":"https://api.github.com/repos/noor-framgia/tms_41/milestones{/number}","notifications_url":"https://api.github.com/repos/noor-framgia/tms_41/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noor-framgia/tms_41/labels{/name}","releases_url":"https://api.github.com/repos/noor-framgia/tms_41/releases{/id}","created_at":"2015-11-30T09:32:30Z","updated_at":"2015-11-27T07:05:19Z","pushed_at":"2015-12-16T07:02:28Z","git_url":"git://github.com/noor-framgia/tms_41.git","ssh_url":"git@github.com:noor-framgia/tms_41.git","clone_url":"https://github.com/noor-framgia/tms_41.git","svn_url":"https://github.com/noor-framgia/tms_41","homepage":null,"size":3032,"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":"4d878e0aa484ea5d375860a76e9250332913a7b3","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":46964954,"name":"tms_41","full_name":"framgia/tms_41","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/tms_41","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_41","forks_url":"https://api.github.com/repos/framgia/tms_41/forks","keys_url":"https://api.github.com/repos/framgia/tms_41/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_41/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_41/teams","hooks_url":"https://api.github.com/repos/framgia/tms_41/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_41/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_41/events","assignees_url":"https://api.github.com/repos/framgia/tms_41/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_41/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_41/tags","blobs_url":"https://api.github.com/repos/framgia/tms_41/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_41/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_41/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_41/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_41/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_41/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_41/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_41/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_41/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_41/subscription","commits_url":"https://api.github.com/repos/framgia/tms_41/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_41/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_41/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_41/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_41/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_41/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_41/merges","archive_url":"https://api.github.com/repos/framgia/tms_41/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_41/downloads","issues_url":"https://api.github.com/repos/framgia/tms_41/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_41/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_41/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_41/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_41/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_41/releases{/id}","created_at":"2015-11-27T07:05:19Z","updated_at":"2015-11-27T07:05:19Z","pushed_at":"2015-12-17T02:50:21Z","git_url":"git://github.com/framgia/tms_41.git","ssh_url":"git@github.com:framgia/tms_41.git","clone_url":"https://github.com/framgia/tms_41.git","svn_url":"https://github.com/framgia/tms_41","homepage":null,"size":3042,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_41/pulls/30"},"html":{"href":"https://github.com/framgia/tms_41/pull/30"},"issue":{"href":"https://api.github.com/repos/framgia/tms_41/issues/30"},"comments":{"href":"https://api.github.com/repos/framgia/tms_41/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_41/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_41/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_41/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_41/statuses/9183b4dba8642bf6ada174348a523e41e44775f7"}}}}