Bring to root

This commit is contained in:
Jori Lallo 2016-03-10 23:10:21 -08:00
parent 3de179420e
commit 5c2b1ef117
2 changed files with 2 additions and 2 deletions

2
dist/bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@ -43,7 +43,7 @@ function requireAuth(nextState, replace) {
render((
<Provider store={store}>
<Router history={History}>
<Route path="/" component={App}>
<Route path="/" component={Dashboard}>
<Route path="login" component={Login} />
<Route path="dashboard" component={Dashboard} onEnter={requireAuth} />
</Route>