{"action":"created","comment":{"url":"https://api.github.com/repos/it-mova/kamputerm/pulls/comments/73349471","id":73349471,"diff_hunk":"@@ -2,10 +2,12 @@ import ReactDOM from 'react-dom';\n import React from 'react';\n import LoginView from './login/LoginView';\n import MainView from './main/MainView';\n+import PrivateView from './private/PrivateView';\n+import auth from './auth/auth';\n import FlatButton from 'material-ui/lib/flat-button';\n import {Provider} from 'react-redux';\n import {store} from './store/storeConfig';\n-import { Router, Route, Link, browserHistory } from 'react-router'\n+import { Router, Route, Link, browserHistory, withRouter } from 'react-router'","path":"client/src/js/kamputerm.js","position":10,"original_position":10,"commit_id":"abd3adf8b8e9ebb2ddd737f2255f3ede92010990","original_commit_id":"abd3adf8b8e9ebb2ddd737f2255f3ede92010990","user":{"login":"pavelbely","id":5118524,"avatar_url":"https://avatars.githubusercontent.com/u/5118524?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelbely","html_url":"https://github.com/pavelbely","followers_url":"https://api.github.com/users/pavelbely/followers","following_url":"https://api.github.com/users/pavelbely/following{/other_user}","gists_url":"https://api.github.com/users/pavelbely/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelbely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelbely/subscriptions","organizations_url":"https://api.github.com/users/pavelbely/orgs","repos_url":"https://api.github.com/users/pavelbely/repos","events_url":"https://api.github.com/users/pavelbely/events{/privacy}","received_events_url":"https://api.github.com/users/pavelbely/received_events","type":"User","site_admin":false},"body":"withRouter магчыма тэба прыбраць","created_at":"2016-08-03T14:35:29Z","updated_at":"2016-08-03T14:35:29Z","html_url":"https://github.com/it-mova/kamputerm/pull/4#discussion_r73349471","pull_request_url":"https://api.github.com/repos/it-mova/kamputerm/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/it-mova/kamputerm/pulls/comments/73349471"},"html":{"href":"https://github.com/it-mova/kamputerm/pull/4#discussion_r73349471"},"pull_request":{"href":"https://api.github.com/repos/it-mova/kamputerm/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/it-mova/kamputerm/pulls/4","id":79891946,"html_url":"https://github.com/it-mova/kamputerm/pull/4","diff_url":"https://github.com/it-mova/kamputerm/pull/4.diff","patch_url":"https://github.com/it-mova/kamputerm/pull/4.patch","issue_url":"https://api.github.com/repos/it-mova/kamputerm/issues/4","number":4,"state":"open","locked":false,"title":"Login api integration example","user":{"login":"pavelbely","id":5118524,"avatar_url":"https://avatars.githubusercontent.com/u/5118524?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelbely","html_url":"https://github.com/pavelbely","followers_url":"https://api.github.com/users/pavelbely/followers","following_url":"https://api.github.com/users/pavelbely/following{/other_user}","gists_url":"https://api.github.com/users/pavelbely/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelbely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelbely/subscriptions","organizations_url":"https://api.github.com/users/pavelbely/orgs","repos_url":"https://api.github.com/users/pavelbely/repos","events_url":"https://api.github.com/users/pavelbely/events{/privacy}","received_events_url":"https://api.github.com/users/pavelbely/received_events","type":"User","site_admin":false},"body":"Дадаў для прыкладу закрыты для гасцей PrivateView, які рэдырэкціць на старонку лагіна, калі карыстальнік не залагінены.\r\nЯк пасля таго лагіна вярнуцца нa PrivateView - не зусім разумею. Ці то трэба нейкі іншы запыт дасылаць падчас лагіну, ці то сродкамі рэакту можна неяк гэта вырашыць.\r\nМне падаецца другі варыянт лепей.\r\nМіхась, дапамажачы, калі ласка","created_at":"2016-08-03T11:43:52Z","updated_at":"2016-08-03T14:35:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3b0d572b6a169fc71c05eb8ddf8bb8bae79b268","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/it-mova/kamputerm/pulls/4/commits","review_comments_url":"https://api.github.com/repos/it-mova/kamputerm/pulls/4/comments","review_comment_url":"https://api.github.com/repos/it-mova/kamputerm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/it-mova/kamputerm/issues/4/comments","statuses_url":"https://api.github.com/repos/it-mova/kamputerm/statuses/abd3adf8b8e9ebb2ddd737f2255f3ede92010990","head":{"label":"pavelbely:master","ref":"master","sha":"abd3adf8b8e9ebb2ddd737f2255f3ede92010990","user":{"login":"pavelbely","id":5118524,"avatar_url":"https://avatars.githubusercontent.com/u/5118524?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelbely","html_url":"https://github.com/pavelbely","followers_url":"https://api.github.com/users/pavelbely/followers","following_url":"https://api.github.com/users/pavelbely/following{/other_user}","gists_url":"https://api.github.com/users/pavelbely/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelbely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelbely/subscriptions","organizations_url":"https://api.github.com/users/pavelbely/orgs","repos_url":"https://api.github.com/users/pavelbely/repos","events_url":"https://api.github.com/users/pavelbely/events{/privacy}","received_events_url":"https://api.github.com/users/pavelbely/received_events","type":"User","site_admin":false},"repo":{"id":58357869,"name":"kamputerm","full_name":"pavelbely/kamputerm","owner":{"login":"pavelbely","id":5118524,"avatar_url":"https://avatars.githubusercontent.com/u/5118524?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelbely","html_url":"https://github.com/pavelbely","followers_url":"https://api.github.com/users/pavelbely/followers","following_url":"https://api.github.com/users/pavelbely/following{/other_user}","gists_url":"https://api.github.com/users/pavelbely/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelbely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelbely/subscriptions","organizations_url":"https://api.github.com/users/pavelbely/orgs","repos_url":"https://api.github.com/users/pavelbely/repos","events_url":"https://api.github.com/users/pavelbely/events{/privacy}","received_events_url":"https://api.github.com/users/pavelbely/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pavelbely/kamputerm","description":"","fork":true,"url":"https://api.github.com/repos/pavelbely/kamputerm","forks_url":"https://api.github.com/repos/pavelbely/kamputerm/forks","keys_url":"https://api.github.com/repos/pavelbely/kamputerm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pavelbely/kamputerm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pavelbely/kamputerm/teams","hooks_url":"https://api.github.com/repos/pavelbely/kamputerm/hooks","issue_events_url":"https://api.github.com/repos/pavelbely/kamputerm/issues/events{/number}","events_url":"https://api.github.com/repos/pavelbely/kamputerm/events","assignees_url":"https://api.github.com/repos/pavelbely/kamputerm/assignees{/user}","branches_url":"https://api.github.com/repos/pavelbely/kamputerm/branches{/branch}","tags_url":"https://api.github.com/repos/pavelbely/kamputerm/tags","blobs_url":"https://api.github.com/repos/pavelbely/kamputerm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pavelbely/kamputerm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pavelbely/kamputerm/git/refs{/sha}","trees_url":"https://api.github.com/repos/pavelbely/kamputerm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pavelbely/kamputerm/statuses/{sha}","languages_url":"https://api.github.com/repos/pavelbely/kamputerm/languages","stargazers_url":"https://api.github.com/repos/pavelbely/kamputerm/stargazers","contributors_url":"https://api.github.com/repos/pavelbely/kamputerm/contributors","subscribers_url":"https://api.github.com/repos/pavelbely/kamputerm/subscribers","subscription_url":"https://api.github.com/repos/pavelbely/kamputerm/subscription","commits_url":"https://api.github.com/repos/pavelbely/kamputerm/commits{/sha}","git_commits_url":"https://api.github.com/repos/pavelbely/kamputerm/git/commits{/sha}","comments_url":"https://api.github.com/repos/pavelbely/kamputerm/comments{/number}","issue_comment_url":"https://api.github.com/repos/pavelbely/kamputerm/issues/comments{/number}","contents_url":"https://api.github.com/repos/pavelbely/kamputerm/contents/{+path}","compare_url":"https://api.github.com/repos/pavelbely/kamputerm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pavelbely/kamputerm/merges","archive_url":"https://api.github.com/repos/pavelbely/kamputerm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pavelbely/kamputerm/downloads","issues_url":"https://api.github.com/repos/pavelbely/kamputerm/issues{/number}","pulls_url":"https://api.github.com/repos/pavelbely/kamputerm/pulls{/number}","milestones_url":"https://api.github.com/repos/pavelbely/kamputerm/milestones{/number}","notifications_url":"https://api.github.com/repos/pavelbely/kamputerm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pavelbely/kamputerm/labels{/name}","releases_url":"https://api.github.com/repos/pavelbely/kamputerm/releases{/id}","deployments_url":"https://api.github.com/repos/pavelbely/kamputerm/deployments","created_at":"2016-05-09T07:39:50Z","updated_at":"2016-05-09T07:39:51Z","pushed_at":"2016-08-03T11:38:17Z","git_url":"git://github.com/pavelbely/kamputerm.git","ssh_url":"git@github.com:pavelbely/kamputerm.git","clone_url":"https://github.com/pavelbely/kamputerm.git","svn_url":"https://github.com/pavelbely/kamputerm","homepage":null,"size":63,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"it-mova:master","ref":"master","sha":"6c2b7c020795802ca43e7446dfa2f7dcbcb20a09","user":{"login":"it-mova","id":13933906,"avatar_url":"https://avatars.githubusercontent.com/u/13933906?v=3","gravatar_id":"","url":"https://api.github.com/users/it-mova","html_url":"https://github.com/it-mova","followers_url":"https://api.github.com/users/it-mova/followers","following_url":"https://api.github.com/users/it-mova/following{/other_user}","gists_url":"https://api.github.com/users/it-mova/gists{/gist_id}","starred_url":"https://api.github.com/users/it-mova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-mova/subscriptions","organizations_url":"https://api.github.com/users/it-mova/orgs","repos_url":"https://api.github.com/users/it-mova/repos","events_url":"https://api.github.com/users/it-mova/events{/privacy}","received_events_url":"https://api.github.com/users/it-mova/received_events","type":"Organization","site_admin":false},"repo":{"id":46636062,"name":"kamputerm","full_name":"it-mova/kamputerm","owner":{"login":"it-mova","id":13933906,"avatar_url":"https://avatars.githubusercontent.com/u/13933906?v=3","gravatar_id":"","url":"https://api.github.com/users/it-mova","html_url":"https://github.com/it-mova","followers_url":"https://api.github.com/users/it-mova/followers","following_url":"https://api.github.com/users/it-mova/following{/other_user}","gists_url":"https://api.github.com/users/it-mova/gists{/gist_id}","starred_url":"https://api.github.com/users/it-mova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-mova/subscriptions","organizations_url":"https://api.github.com/users/it-mova/orgs","repos_url":"https://api.github.com/users/it-mova/repos","events_url":"https://api.github.com/users/it-mova/events{/privacy}","received_events_url":"https://api.github.com/users/it-mova/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/it-mova/kamputerm","description":"","fork":false,"url":"https://api.github.com/repos/it-mova/kamputerm","forks_url":"https://api.github.com/repos/it-mova/kamputerm/forks","keys_url":"https://api.github.com/repos/it-mova/kamputerm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/it-mova/kamputerm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/it-mova/kamputerm/teams","hooks_url":"https://api.github.com/repos/it-mova/kamputerm/hooks","issue_events_url":"https://api.github.com/repos/it-mova/kamputerm/issues/events{/number}","events_url":"https://api.github.com/repos/it-mova/kamputerm/events","assignees_url":"https://api.github.com/repos/it-mova/kamputerm/assignees{/user}","branches_url":"https://api.github.com/repos/it-mova/kamputerm/branches{/branch}","tags_url":"https://api.github.com/repos/it-mova/kamputerm/tags","blobs_url":"https://api.github.com/repos/it-mova/kamputerm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/it-mova/kamputerm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/it-mova/kamputerm/git/refs{/sha}","trees_url":"https://api.github.com/repos/it-mova/kamputerm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/it-mova/kamputerm/statuses/{sha}","languages_url":"https://api.github.com/repos/it-mova/kamputerm/languages","stargazers_url":"https://api.github.com/repos/it-mova/kamputerm/stargazers","contributors_url":"https://api.github.com/repos/it-mova/kamputerm/contributors","subscribers_url":"https://api.github.com/repos/it-mova/kamputerm/subscribers","subscription_url":"https://api.github.com/repos/it-mova/kamputerm/subscription","commits_url":"https://api.github.com/repos/it-mova/kamputerm/commits{/sha}","git_commits_url":"https://api.github.com/repos/it-mova/kamputerm/git/commits{/sha}","comments_url":"https://api.github.com/repos/it-mova/kamputerm/comments{/number}","issue_comment_url":"https://api.github.com/repos/it-mova/kamputerm/issues/comments{/number}","contents_url":"https://api.github.com/repos/it-mova/kamputerm/contents/{+path}","compare_url":"https://api.github.com/repos/it-mova/kamputerm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/it-mova/kamputerm/merges","archive_url":"https://api.github.com/repos/it-mova/kamputerm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/it-mova/kamputerm/downloads","issues_url":"https://api.github.com/repos/it-mova/kamputerm/issues{/number}","pulls_url":"https://api.github.com/repos/it-mova/kamputerm/pulls{/number}","milestones_url":"https://api.github.com/repos/it-mova/kamputerm/milestones{/number}","notifications_url":"https://api.github.com/repos/it-mova/kamputerm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/it-mova/kamputerm/labels{/name}","releases_url":"https://api.github.com/repos/it-mova/kamputerm/releases{/id}","deployments_url":"https://api.github.com/repos/it-mova/kamputerm/deployments","created_at":"2015-11-21T22:12:19Z","updated_at":"2016-01-12T06:29:42Z","pushed_at":"2016-08-03T11:43:52Z","git_url":"git://github.com/it-mova/kamputerm.git","ssh_url":"git@github.com:it-mova/kamputerm.git","clone_url":"https://github.com/it-mova/kamputerm.git","svn_url":"https://github.com/it-mova/kamputerm","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/it-mova/kamputerm/pulls/4"},"html":{"href":"https://github.com/it-mova/kamputerm/pull/4"},"issue":{"href":"https://api.github.com/repos/it-mova/kamputerm/issues/4"},"comments":{"href":"https://api.github.com/repos/it-mova/kamputerm/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/it-mova/kamputerm/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/it-mova/kamputerm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/it-mova/kamputerm/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/it-mova/kamputerm/statuses/abd3adf8b8e9ebb2ddd737f2255f3ede92010990"}}}}
{"actor":{"display_login":"pavelbely"}}