{"action":"created","issue":{"url":"https://api.github.com/repos/4Catalyzer/found/issues/73","repository_url":"https://api.github.com/repos/4Catalyzer/found","labels_url":"https://api.github.com/repos/4Catalyzer/found/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/4Catalyzer/found/issues/73/comments","events_url":"https://api.github.com/repos/4Catalyzer/found/issues/73/events","html_url":"https://github.com/4Catalyzer/found/issues/73","id":207108002,"number":73,"title":"Authorized routes","user":{"login":"steida","id":66249,"avatar_url":"https://avatars1.githubusercontent.com/u/66249?v=4","gravatar_id":"","url":"https://api.github.com/users/steida","html_url":"https://github.com/steida","followers_url":"https://api.github.com/users/steida/followers","following_url":"https://api.github.com/users/steida/following{/other_user}","gists_url":"https://api.github.com/users/steida/gists{/gist_id}","starred_url":"https://api.github.com/users/steida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steida/subscriptions","organizations_url":"https://api.github.com/users/steida/orgs","repos_url":"https://api.github.com/users/steida/repos","events_url":"https://api.github.com/users/steida/events{/privacy}","received_events_url":"https://api.github.com/users/steida/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-02-13T02:27:42Z","updated_at":"2017-10-25T21:59:54Z","closed_at":"2017-02-18T12:27:42Z","author_association":"NONE","body":"I'm not sure how to implement authorised routes. I need to check Redux state.users.viewer to enforce redirect with requested location. Does it belong to routeConfig or it should be a higher order component? Can we use `<Redirect />` component in a view?"},"comment":{"url":"https://api.github.com/repos/4Catalyzer/found/issues/comments/339484935","html_url":"https://github.com/4Catalyzer/found/issues/73#issuecomment-339484935","issue_url":"https://api.github.com/repos/4Catalyzer/found/issues/73","id":339484935,"user":{"login":"taion","id":3112159,"avatar_url":"https://avatars0.githubusercontent.com/u/3112159?v=4","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T21:59:54Z","updated_at":"2017-10-25T21:59:54Z","author_association":"OWNER","body":"You just do like:\r\n\r\n```js\r\nimport Route from 'found/lib/Route';\r\n\r\nexport default class AuthorizedRoute extends Route{\r\n  render({ Component, matchContext, props }) {\r\n    // ...\r\n  }\r\n}\r\n```\r\n\r\nBasically just like https://github.com/4Catalyzer/found/blob/52917b827a6756c0e80d8c38a007abe2ebe67d93/src/Redirect.js."}}
{"actor":{"display_login":"taion"}}