{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_107/pulls/comments/51374378","id":51374378,"diff_hunk":"@@ -24,4 +26,16 @@ public function lesson()\n     {\n         return $this->belongsTo(Lesson::class, 'lesson_id');\n     }\n+\n+    public function getLastLessonId()","path":"app/LessonWord.php","position":27,"original_position":27,"commit_id":"4ad54563d09c502ec762c36490747480330958a8","original_commit_id":"4ad54563d09c502ec762c36490747480330958a8","user":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"body":"Oops was supposed to remove this as we transferred it into Lesson Model","created_at":"2016-02-01T02:35:22Z","updated_at":"2016-02-01T02:35:22Z","html_url":"https://github.com/framgia/fels_107/pull/15#discussion_r51374378","pull_request_url":"https://api.github.com/repos/framgia/fels_107/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/comments/51374378"},"html":{"href":"https://github.com/framgia/fels_107/pull/15#discussion_r51374378"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_107/pulls/15","id":57336110,"html_url":"https://github.com/framgia/fels_107/pull/15","diff_url":"https://github.com/framgia/fels_107/pull/15.diff","patch_url":"https://github.com/framgia/fels_107/pull/15.patch","issue_url":"https://api.github.com/repos/framgia/fels_107/issues/15","number":15,"state":"open","locked":false,"title":"Lessons, LessonWords","user":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"body":"Controllers, Models, views. Generates lessons and lesson words. Views are for display only, no lesson flow yet or form processing.","created_at":"2016-01-27T09:53:34Z","updated_at":"2016-02-01T02:35:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edfb32f7a775986fdf41c4ccb4db149c10d21f22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_107/pulls/15/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_107/pulls/15/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_107/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_107/issues/15/comments","statuses_url":"https://api.github.com/repos/framgia/fels_107/statuses/4ad54563d09c502ec762c36490747480330958a8","head":{"label":"avminon:lessons","ref":"lessons","sha":"4ad54563d09c502ec762c36490747480330958a8","user":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"repo":{"id":49621001,"name":"fels_107","full_name":"avminon/fels_107","owner":{"login":"avminon","id":16562366,"avatar_url":"https://avatars.githubusercontent.com/u/16562366?v=3","gravatar_id":"","url":"https://api.github.com/users/avminon","html_url":"https://github.com/avminon","followers_url":"https://api.github.com/users/avminon/followers","following_url":"https://api.github.com/users/avminon/following{/other_user}","gists_url":"https://api.github.com/users/avminon/gists{/gist_id}","starred_url":"https://api.github.com/users/avminon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avminon/subscriptions","organizations_url":"https://api.github.com/users/avminon/orgs","repos_url":"https://api.github.com/users/avminon/repos","events_url":"https://api.github.com/users/avminon/events{/privacy}","received_events_url":"https://api.github.com/users/avminon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/avminon/fels_107","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/avminon/fels_107","forks_url":"https://api.github.com/repos/avminon/fels_107/forks","keys_url":"https://api.github.com/repos/avminon/fels_107/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avminon/fels_107/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avminon/fels_107/teams","hooks_url":"https://api.github.com/repos/avminon/fels_107/hooks","issue_events_url":"https://api.github.com/repos/avminon/fels_107/issues/events{/number}","events_url":"https://api.github.com/repos/avminon/fels_107/events","assignees_url":"https://api.github.com/repos/avminon/fels_107/assignees{/user}","branches_url":"https://api.github.com/repos/avminon/fels_107/branches{/branch}","tags_url":"https://api.github.com/repos/avminon/fels_107/tags","blobs_url":"https://api.github.com/repos/avminon/fels_107/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avminon/fels_107/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avminon/fels_107/git/refs{/sha}","trees_url":"https://api.github.com/repos/avminon/fels_107/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avminon/fels_107/statuses/{sha}","languages_url":"https://api.github.com/repos/avminon/fels_107/languages","stargazers_url":"https://api.github.com/repos/avminon/fels_107/stargazers","contributors_url":"https://api.github.com/repos/avminon/fels_107/contributors","subscribers_url":"https://api.github.com/repos/avminon/fels_107/subscribers","subscription_url":"https://api.github.com/repos/avminon/fels_107/subscription","commits_url":"https://api.github.com/repos/avminon/fels_107/commits{/sha}","git_commits_url":"https://api.github.com/repos/avminon/fels_107/git/commits{/sha}","comments_url":"https://api.github.com/repos/avminon/fels_107/comments{/number}","issue_comment_url":"https://api.github.com/repos/avminon/fels_107/issues/comments{/number}","contents_url":"https://api.github.com/repos/avminon/fels_107/contents/{+path}","compare_url":"https://api.github.com/repos/avminon/fels_107/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avminon/fels_107/merges","archive_url":"https://api.github.com/repos/avminon/fels_107/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avminon/fels_107/downloads","issues_url":"https://api.github.com/repos/avminon/fels_107/issues{/number}","pulls_url":"https://api.github.com/repos/avminon/fels_107/pulls{/number}","milestones_url":"https://api.github.com/repos/avminon/fels_107/milestones{/number}","notifications_url":"https://api.github.com/repos/avminon/fels_107/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avminon/fels_107/labels{/name}","releases_url":"https://api.github.com/repos/avminon/fels_107/releases{/id}","deployments_url":"https://api.github.com/repos/avminon/fels_107/deployments","created_at":"2016-01-14T03:46:55Z","updated_at":"2016-01-16T09:40:26Z","pushed_at":"2016-02-01T01:41:37Z","git_url":"git://github.com/avminon/fels_107.git","ssh_url":"git@github.com:avminon/fels_107.git","clone_url":"https://github.com/avminon/fels_107.git","svn_url":"https://github.com/avminon/fels_107","homepage":null,"size":194,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"62cd3f88bcb087907431b7200cf23d8d2ad64c33","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":49479454,"name":"fels_107","full_name":"framgia/fels_107","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_107","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_107","forks_url":"https://api.github.com/repos/framgia/fels_107/forks","keys_url":"https://api.github.com/repos/framgia/fels_107/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_107/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_107/teams","hooks_url":"https://api.github.com/repos/framgia/fels_107/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_107/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_107/events","assignees_url":"https://api.github.com/repos/framgia/fels_107/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_107/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_107/tags","blobs_url":"https://api.github.com/repos/framgia/fels_107/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_107/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_107/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_107/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_107/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_107/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_107/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_107/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_107/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_107/subscription","commits_url":"https://api.github.com/repos/framgia/fels_107/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_107/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_107/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_107/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_107/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_107/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_107/merges","archive_url":"https://api.github.com/repos/framgia/fels_107/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_107/downloads","issues_url":"https://api.github.com/repos/framgia/fels_107/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_107/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_107/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_107/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_107/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_107/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_107/deployments","created_at":"2016-01-12T06:18:07Z","updated_at":"2016-01-12T06:18:07Z","pushed_at":"2016-02-01T01:41:38Z","git_url":"git://github.com/framgia/fels_107.git","ssh_url":"git@github.com:framgia/fels_107.git","clone_url":"https://github.com/framgia/fels_107.git","svn_url":"https://github.com/framgia/fels_107","homepage":null,"size":6618,"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":2,"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/15"},"html":{"href":"https://github.com/framgia/fels_107/pull/15"},"issue":{"href":"https://api.github.com/repos/framgia/fels_107/issues/15"},"comments":{"href":"https://api.github.com/repos/framgia/fels_107/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_107/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_107/statuses/4ad54563d09c502ec762c36490747480330958a8"}}}}