{"action":"created","issue":{"url":"https://api.github.com/repos/dignajar/nibbleblog/issues/61","labels_url":"https://api.github.com/repos/dignajar/nibbleblog/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/dignajar/nibbleblog/issues/61/comments","events_url":"https://api.github.com/repos/dignajar/nibbleblog/issues/61/events","html_url":"https://github.com/dignajar/nibbleblog/pull/61","id":34503158,"number":61,"title":"Redirect user to admin.php if not logged in","user":{"login":"serpent7776","id":3284364,"avatar_url":"https://avatars.githubusercontent.com/u/3284364?v=3","gravatar_id":"","url":"https://api.github.com/users/serpent7776","html_url":"https://github.com/serpent7776","followers_url":"https://api.github.com/users/serpent7776/followers","following_url":"https://api.github.com/users/serpent7776/following{/other_user}","gists_url":"https://api.github.com/users/serpent7776/gists{/gist_id}","starred_url":"https://api.github.com/users/serpent7776/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serpent7776/subscriptions","organizations_url":"https://api.github.com/users/serpent7776/orgs","repos_url":"https://api.github.com/users/serpent7776/repos","events_url":"https://api.github.com/users/serpent7776/events{/privacy}","received_events_url":"https://api.github.com/users/serpent7776/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-05-28T20:22:44Z","updated_at":"2015-03-24T18:34:44Z","closed_at":"2015-03-24T18:34:44Z","pull_request":{"url":"https://api.github.com/repos/dignajar/nibbleblog/pulls/61","html_url":"https://github.com/dignajar/nibbleblog/pull/61","diff_url":"https://github.com/dignajar/nibbleblog/pull/61.diff","patch_url":"https://github.com/dignajar/nibbleblog/pull/61.patch"},"body":"When user is not logged in and tries to access admin page user gets info\r\nabout security error. This might confuse user (e.g. after session\r\nexpired).\r\nAdded link and auto refresh to admin.php"},"comment":{"url":"https://api.github.com/repos/dignajar/nibbleblog/issues/comments/85635239","html_url":"https://github.com/dignajar/nibbleblog/pull/61#issuecomment-85635239","issue_url":"https://api.github.com/repos/dignajar/nibbleblog/issues/61","id":85635239,"user":{"login":"dignajar","id":507352,"avatar_url":"https://avatars.githubusercontent.com/u/507352?v=3","gravatar_id":"","url":"https://api.github.com/users/dignajar","html_url":"https://github.com/dignajar","followers_url":"https://api.github.com/users/dignajar/followers","following_url":"https://api.github.com/users/dignajar/following{/other_user}","gists_url":"https://api.github.com/users/dignajar/gists{/gist_id}","starred_url":"https://api.github.com/users/dignajar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dignajar/subscriptions","organizations_url":"https://api.github.com/users/dignajar/orgs","repos_url":"https://api.github.com/users/dignajar/repos","events_url":"https://api.github.com/users/dignajar/events{/privacy}","received_events_url":"https://api.github.com/users/dignajar/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T18:34:44Z","updated_at":"2015-03-24T18:34:44Z","body":"You can uses Redirect::controller('admin','login','view');"}}