Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Switch>
- <Route exact path={INDEX_PATH} component={
- RouteWrapContainer(props => <HomeContainer {...props} />)
- } />
- <Route exact path={LOGIN_PATH} component={
- RouteWrapContainer(props => <LoginContainer {...props} />)
- } />
- <Route path={SEARCH_PATH} component={
- RouteWrapContainer(props => <SearchContainer {...props} />)
- } />
- <Route path={CURRICULUM_ADD_PATH} component={
- RouteWrapContainer(props => <CurriculumAddContainer {...props} />, { restrict: true })
- } />
- <Route path={CURRICULUM_PATH} component={
- RouteWrapContainer(props => <CurriculumContainer {...props} />)
- } />
- <Route exact path={SUPERVISOR_PATH} component={
- RouteWrapContainer(props => <SupervisorContainer {...props} />)
- } />
- <Route path={ADMIN_PATH} component={
- RouteWrapContainer(props => <AdminContainer {...props} />, {restrict: true})
- } />
- <Route path={SETTINGS_ACCOUNT_PATH} component={
- RouteWrapContainer(props => <SettingsAccountContainer {...props} />, {restrict: true})
- } />
- <Route path={SETTINGS_PASSWORD_PATH} component={
- RouteWrapContainer(props => <SettingsPasswordContainer {...props} />, {restrict: true})
- } />
- <Route path={ACCOUNT_FORGOT} component={
- RouteWrapContainer(props => <AccountForgotContainer {...props} />)
- } />
- <Route path={ACCOUNT_PASSWORD} component={
- RouteWrapContainer(props => <AccountPasswordContainer {...props} />)
- } />
- <Route path={TOS_PATH} component={
- RouteWrapContainer(props => <TermsOfServiceContainer {...props} />)
- } />
- <Route component={
- RouteWrapContainer(props => <NotFound {...props} />)
- } path='/404' />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement