{"action":"created","comment":{"url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments/45640668","id":45640668,"diff_hunk":"@@ -0,0 +1,8 @@\n+class LessonsController < ApplicationController\n+\n+  def show\n+    @course = Course.find(params[:course_id])\n+    @lesson = Lesson.find(params[:id])\n+  end\n+","path":"app/controllers/lessons_controller.rb","position":7,"original_position":7,"commit_id":"3fe5ca31aaa727c29f42d24c512ab83c52f54cdd","original_commit_id":"3fe5ca31aaa727c29f42d24c512ab83c52f54cdd","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra empty line detected at class body end.","created_at":"2015-11-23T18:31:40Z","updated_at":"2015-11-23T18:31:40Z","html_url":"https://github.com/ledes/PDCA_platform/pull/7#discussion_r45640668","pull_request_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments/45640668"},"html":{"href":"https://github.com/ledes/PDCA_platform/pull/7#discussion_r45640668"},"pull_request":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7","id":51561219,"html_url":"https://github.com/ledes/PDCA_platform/pull/7","diff_url":"https://github.com/ledes/PDCA_platform/pull/7.diff","patch_url":"https://github.com/ledes/PDCA_platform/pull/7.patch","issue_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/7","number":7,"state":"open","locked":false,"title":"Lessons","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"body":"- CRUD ACTIONS for lessons and tests","created_at":"2015-11-23T18:31:31Z","updated_at":"2015-11-23T18:31:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b87063b039c46d06e7170436133d93118a80c673","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7/commits","review_comments_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7/comments","review_comment_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/7/comments","statuses_url":"https://api.github.com/repos/ledes/PDCA_platform/statuses/3fe5ca31aaa727c29f42d24c512ab83c52f54cdd","head":{"label":"ledes:lessons","ref":"lessons","sha":"3fe5ca31aaa727c29f42d24c512ab83c52f54cdd","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"repo":{"id":45262969,"name":"PDCA_platform","full_name":"ledes/PDCA_platform","owner":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ledes/PDCA_platform","description":"","fork":false,"url":"https://api.github.com/repos/ledes/PDCA_platform","forks_url":"https://api.github.com/repos/ledes/PDCA_platform/forks","keys_url":"https://api.github.com/repos/ledes/PDCA_platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledes/PDCA_platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledes/PDCA_platform/teams","hooks_url":"https://api.github.com/repos/ledes/PDCA_platform/hooks","issue_events_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/events{/number}","events_url":"https://api.github.com/repos/ledes/PDCA_platform/events","assignees_url":"https://api.github.com/repos/ledes/PDCA_platform/assignees{/user}","branches_url":"https://api.github.com/repos/ledes/PDCA_platform/branches{/branch}","tags_url":"https://api.github.com/repos/ledes/PDCA_platform/tags","blobs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledes/PDCA_platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledes/PDCA_platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledes/PDCA_platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ledes/PDCA_platform/languages","stargazers_url":"https://api.github.com/repos/ledes/PDCA_platform/stargazers","contributors_url":"https://api.github.com/repos/ledes/PDCA_platform/contributors","subscribers_url":"https://api.github.com/repos/ledes/PDCA_platform/subscribers","subscription_url":"https://api.github.com/repos/ledes/PDCA_platform/subscription","commits_url":"https://api.github.com/repos/ledes/PDCA_platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledes/PDCA_platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledes/PDCA_platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledes/PDCA_platform/contents/{+path}","compare_url":"https://api.github.com/repos/ledes/PDCA_platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledes/PDCA_platform/merges","archive_url":"https://api.github.com/repos/ledes/PDCA_platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledes/PDCA_platform/downloads","issues_url":"https://api.github.com/repos/ledes/PDCA_platform/issues{/number}","pulls_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ledes/PDCA_platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ledes/PDCA_platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledes/PDCA_platform/labels{/name}","releases_url":"https://api.github.com/repos/ledes/PDCA_platform/releases{/id}","created_at":"2015-10-30T16:28:19Z","updated_at":"2015-11-18T21:25:07Z","pushed_at":"2015-11-23T18:31:32Z","git_url":"git://github.com/ledes/PDCA_platform.git","ssh_url":"git@github.com:ledes/PDCA_platform.git","clone_url":"https://github.com/ledes/PDCA_platform.git","svn_url":"https://github.com/ledes/PDCA_platform","homepage":null,"size":93,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"ledes:master","ref":"master","sha":"1c9511c87f888e7694b696117fe0291901959a21","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"repo":{"id":45262969,"name":"PDCA_platform","full_name":"ledes/PDCA_platform","owner":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ledes/PDCA_platform","description":"","fork":false,"url":"https://api.github.com/repos/ledes/PDCA_platform","forks_url":"https://api.github.com/repos/ledes/PDCA_platform/forks","keys_url":"https://api.github.com/repos/ledes/PDCA_platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledes/PDCA_platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledes/PDCA_platform/teams","hooks_url":"https://api.github.com/repos/ledes/PDCA_platform/hooks","issue_events_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/events{/number}","events_url":"https://api.github.com/repos/ledes/PDCA_platform/events","assignees_url":"https://api.github.com/repos/ledes/PDCA_platform/assignees{/user}","branches_url":"https://api.github.com/repos/ledes/PDCA_platform/branches{/branch}","tags_url":"https://api.github.com/repos/ledes/PDCA_platform/tags","blobs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledes/PDCA_platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledes/PDCA_platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledes/PDCA_platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledes/PDCA_platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ledes/PDCA_platform/languages","stargazers_url":"https://api.github.com/repos/ledes/PDCA_platform/stargazers","contributors_url":"https://api.github.com/repos/ledes/PDCA_platform/contributors","subscribers_url":"https://api.github.com/repos/ledes/PDCA_platform/subscribers","subscription_url":"https://api.github.com/repos/ledes/PDCA_platform/subscription","commits_url":"https://api.github.com/repos/ledes/PDCA_platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledes/PDCA_platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledes/PDCA_platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledes/PDCA_platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledes/PDCA_platform/contents/{+path}","compare_url":"https://api.github.com/repos/ledes/PDCA_platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledes/PDCA_platform/merges","archive_url":"https://api.github.com/repos/ledes/PDCA_platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledes/PDCA_platform/downloads","issues_url":"https://api.github.com/repos/ledes/PDCA_platform/issues{/number}","pulls_url":"https://api.github.com/repos/ledes/PDCA_platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ledes/PDCA_platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ledes/PDCA_platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledes/PDCA_platform/labels{/name}","releases_url":"https://api.github.com/repos/ledes/PDCA_platform/releases{/id}","created_at":"2015-10-30T16:28:19Z","updated_at":"2015-11-18T21:25:07Z","pushed_at":"2015-11-23T18:31:32Z","git_url":"git://github.com/ledes/PDCA_platform.git","ssh_url":"git@github.com:ledes/PDCA_platform.git","clone_url":"https://github.com/ledes/PDCA_platform.git","svn_url":"https://github.com/ledes/PDCA_platform","homepage":null,"size":93,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7"},"html":{"href":"https://github.com/ledes/PDCA_platform/pull/7"},"issue":{"href":"https://api.github.com/repos/ledes/PDCA_platform/issues/7"},"comments":{"href":"https://api.github.com/repos/ledes/PDCA_platform/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ledes/PDCA_platform/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/ledes/PDCA_platform/statuses/3fe5ca31aaa727c29f42d24c512ab83c52f54cdd"}}}}