{"action":"created","comment":{"url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/comments/25397990","id":25397990,"diff_hunk":"@@ -6,6 +6,18 @@\n \n %h2 Lessons\n \n+%dl.sub-nav\n+  %dt Filter:","path":"app/views/lessons/index.html.haml","position":null,"original_position":5,"commit_id":"7bd5c91085f44fcef0a8074095fe06729a380e0d","original_commit_id":"f4a5f239908293ccaf674fee47587b03a0c6ff1d","user":{"login":"dpickett","id":1082,"avatar_url":"https://avatars.githubusercontent.com/u/1082?v=3","gravatar_id":"","url":"https://api.github.com/users/dpickett","html_url":"https://github.com/dpickett","followers_url":"https://api.github.com/users/dpickett/followers","following_url":"https://api.github.com/users/dpickett/following{/other_user}","gists_url":"https://api.github.com/users/dpickett/gists{/gist_id}","starred_url":"https://api.github.com/users/dpickett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpickett/subscriptions","organizations_url":"https://api.github.com/users/dpickett/orgs","repos_url":"https://api.github.com/users/dpickett/repos","events_url":"https://api.github.com/users/dpickett/events{/privacy}","received_events_url":"https://api.github.com/users/dpickett/received_events","type":"User","site_admin":false},"body":"I'd love to see this in a view object. (Richard or I can help with that) - I think there's a way to leverage an array to DRY this up a bit.","created_at":"2015-02-26T01:31:27Z","updated_at":"2015-02-26T01:31:27Z","html_url":"https://github.com/LaunchAcademy/event_horizon/pull/196#discussion_r25397990","pull_request_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196","_links":{"self":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/comments/25397990"},"html":{"href":"https://github.com/LaunchAcademy/event_horizon/pull/196#discussion_r25397990"},"pull_request":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196"}}},"pull_request":{"url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196","id":30024205,"html_url":"https://github.com/LaunchAcademy/event_horizon/pull/196","diff_url":"https://github.com/LaunchAcademy/event_horizon/pull/196.diff","patch_url":"https://github.com/LaunchAcademy/event_horizon/pull/196.patch","issue_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/196","number":196,"state":"open","locked":false,"title":"Sort lessons index","user":{"login":"cmkoller","id":8670086,"avatar_url":"https://avatars.githubusercontent.com/u/8670086?v=3","gravatar_id":"","url":"https://api.github.com/users/cmkoller","html_url":"https://github.com/cmkoller","followers_url":"https://api.github.com/users/cmkoller/followers","following_url":"https://api.github.com/users/cmkoller/following{/other_user}","gists_url":"https://api.github.com/users/cmkoller/gists{/gist_id}","starred_url":"https://api.github.com/users/cmkoller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmkoller/subscriptions","organizations_url":"https://api.github.com/users/cmkoller/orgs","repos_url":"https://api.github.com/users/cmkoller/repos","events_url":"https://api.github.com/users/cmkoller/events{/privacy}","received_events_url":"https://api.github.com/users/cmkoller/received_events","type":"User","site_admin":false},"body":"Lessons default sorted by title\r\nAdded filters for sorting lessons by type","created_at":"2015-02-25T20:53:38Z","updated_at":"2015-02-26T01:31:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da78e5914738532972c3409ee641ccaadb17763a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196/commits","review_comments_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196/comments","review_comment_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/196/comments","statuses_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/statuses/7bd5c91085f44fcef0a8074095fe06729a380e0d","head":{"label":"LaunchAcademy:sort-lessons-index","ref":"sort-lessons-index","sha":"7bd5c91085f44fcef0a8074095fe06729a380e0d","user":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":21508679,"name":"event_horizon","full_name":"LaunchAcademy/event_horizon","owner":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LaunchAcademy/event_horizon","description":"An application for displaying and submitting assignments and code review.","fork":false,"url":"https://api.github.com/repos/LaunchAcademy/event_horizon","forks_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/forks","keys_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/teams","hooks_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/hooks","issue_events_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/events","assignees_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/tags","blobs_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/languages","stargazers_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/stargazers","contributors_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/contributors","subscribers_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/subscribers","subscription_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/subscription","commits_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/merges","archive_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/downloads","issues_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/labels{/name}","releases_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/releases{/id}","created_at":"2014-07-04T22:12:06Z","updated_at":"2015-02-25T14:18:03Z","pushed_at":"2015-02-25T22:17:18Z","git_url":"git://github.com/LaunchAcademy/event_horizon.git","ssh_url":"git@github.com:LaunchAcademy/event_horizon.git","clone_url":"https://github.com/LaunchAcademy/event_horizon.git","svn_url":"https://github.com/LaunchAcademy/event_horizon","homepage":"https://horizon.launchacademy.com/","size":7859,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":35,"forks":6,"open_issues":35,"watchers":12,"default_branch":"master"}},"base":{"label":"LaunchAcademy:master","ref":"master","sha":"51e7f03036c105bd079ba7acd63b6aba135edb28","user":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":21508679,"name":"event_horizon","full_name":"LaunchAcademy/event_horizon","owner":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LaunchAcademy/event_horizon","description":"An application for displaying and submitting assignments and code review.","fork":false,"url":"https://api.github.com/repos/LaunchAcademy/event_horizon","forks_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/forks","keys_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/teams","hooks_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/hooks","issue_events_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/events","assignees_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/tags","blobs_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/languages","stargazers_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/stargazers","contributors_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/contributors","subscribers_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/subscribers","subscription_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/subscription","commits_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/merges","archive_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/downloads","issues_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/labels{/name}","releases_url":"https://api.github.com/repos/LaunchAcademy/event_horizon/releases{/id}","created_at":"2014-07-04T22:12:06Z","updated_at":"2015-02-25T14:18:03Z","pushed_at":"2015-02-25T22:17:18Z","git_url":"git://github.com/LaunchAcademy/event_horizon.git","ssh_url":"git@github.com:LaunchAcademy/event_horizon.git","clone_url":"https://github.com/LaunchAcademy/event_horizon.git","svn_url":"https://github.com/LaunchAcademy/event_horizon","homepage":"https://horizon.launchacademy.com/","size":7859,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":35,"forks":6,"open_issues":35,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196"},"html":{"href":"https://github.com/LaunchAcademy/event_horizon/pull/196"},"issue":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/196"},"comments":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/issues/196/comments"},"review_comments":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196/comments"},"review_comment":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/pulls/196/commits"},"statuses":{"href":"https://api.github.com/repos/LaunchAcademy/event_horizon/statuses/7bd5c91085f44fcef0a8074095fe06729a380e0d"}}}}