{"action":"created","issue":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/991","repository_url":"https://api.github.com/repos/Coursemology/coursemology2","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/991/labels{/name}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/991/comments","events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/991/events","html_url":"https://github.com/Coursemology/coursemology2/pull/991","id":146804330,"number":991,"title":"Add eager loading for announcements' read status.","user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-08T03:32:42Z","updated_at":"2016-04-08T04:14:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/991","html_url":"https://github.com/Coursemology/coursemology2/pull/991","diff_url":"https://github.com/Coursemology/coursemology2/pull/991.diff","patch_url":"https://github.com/Coursemology/coursemology2/pull/991.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments/207202277","html_url":"https://github.com/Coursemology/coursemology2/pull/991#issuecomment-207202277","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/991","id":207202277,"user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T04:14:25Z","updated_at":"2016-04-08T04:14:25Z","body":"_announcement.html.slim:\r\n```slim\r\n= div_for(announcement, class: time_period_class(announcement))\r\n  h2\r\n    - if announcement.unread?(current_user)\r\n      small => fa_icon 'envelope'.freeze\r\n```"}}