{"action":"created","issue":{"url":"https://api.github.com/repos/qinix/shelter/issues/7","repository_url":"https://api.github.com/repos/qinix/shelter","labels_url":"https://api.github.com/repos/qinix/shelter/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/qinix/shelter/issues/7/comments","events_url":"https://api.github.com/repos/qinix/shelter/issues/7/events","html_url":"https://github.com/qinix/shelter/issues/7","id":171062670,"number":7,"title":"未登录情况下访问某些页面导致页面出错","user":{"login":"fsword","id":18908,"avatar_url":"https://avatars.githubusercontent.com/u/18908?v=3","gravatar_id":"","url":"https://api.github.com/users/fsword","html_url":"https://github.com/fsword","followers_url":"https://api.github.com/users/fsword/followers","following_url":"https://api.github.com/users/fsword/following{/other_user}","gists_url":"https://api.github.com/users/fsword/gists{/gist_id}","starred_url":"https://api.github.com/users/fsword/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsword/subscriptions","organizations_url":"https://api.github.com/users/fsword/orgs","repos_url":"https://api.github.com/users/fsword/repos","events_url":"https://api.github.com/users/fsword/events{/privacy}","received_events_url":"https://api.github.com/users/fsword/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-14T14:56:59Z","updated_at":"2016-08-14T16:25:42Z","closed_at":null,"body":"未登录情况下访问 http://<side_ip>/library ，会出现类似下面的错误，似乎没有进行统一的鉴权拦截\r\n\r\nNoMethodError at /library\r\nundefined method `username' for nil:NilClass\r\nApplication Frames All Frames\r\n"},"comment":{"url":"https://api.github.com/repos/qinix/shelter/issues/comments/239682517","html_url":"https://github.com/qinix/shelter/issues/7#issuecomment-239682517","issue_url":"https://api.github.com/repos/qinix/shelter/issues/7","id":239682517,"user":{"login":"qinix","id":1946663,"avatar_url":"https://avatars.githubusercontent.com/u/1946663?v=3","gravatar_id":"","url":"https://api.github.com/users/qinix","html_url":"https://github.com/qinix","followers_url":"https://api.github.com/users/qinix/followers","following_url":"https://api.github.com/users/qinix/following{/other_user}","gists_url":"https://api.github.com/users/qinix/gists{/gist_id}","starred_url":"https://api.github.com/users/qinix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qinix/subscriptions","organizations_url":"https://api.github.com/users/qinix/orgs","repos_url":"https://api.github.com/users/qinix/repos","events_url":"https://api.github.com/users/qinix/events{/privacy}","received_events_url":"https://api.github.com/users/qinix/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T16:25:42Z","updated_at":"2016-08-14T16:25:42Z","body":"由于错误的在views中假设了用户已登录导致的这个错误，已修复"}}
{"actor":{"display_login":"qinix"}}