add support for profile

This commit is contained in:
cleverbeagle 2017-05-28 14:04:24 -05:00
parent 779e3ee978
commit 252ebf50cc
7 changed files with 268 additions and 1 deletions

View file

@ -17,6 +17,7 @@ import Signup from '../../pages/Signup/Signup';
import Login from '../../pages/Login/Login';
import RecoverPassword from '../../pages/RecoverPassword/RecoverPassword';
import ResetPassword from '../../pages/ResetPassword/ResetPassword';
import Profile from '../../pages/Profile/Profile';
import NotFound from '../../pages/NotFound/NotFound';
const App = props => (
@ -30,6 +31,7 @@ const App = props => (
<Authenticated exact path="/documents/new" component={NewDocument} {...props} />
<Authenticated exact path="/documents/:_id" component={ViewDocument} {...props} />
<Authenticated exact path="/documents/:_id/edit" component={EditDocument} {...props} />
<Authenticated exact path="/profile" component={Profile} {...props} />
<Public path="/signup" component={Signup} {...props} />
<Public path="/login" component={Login} {...props} />
<Route name="recover-password" path="/recover-password" component={RecoverPassword} />