diff --git a/app/routes.js b/app/routes.js index e0dd3904d691a62b589a105a43a6afcd803ba6b8..d7143e2f75dc62b435032ee7ebbd3545aee7819c 100644 --- a/app/routes.js +++ b/app/routes.js @@ -4,14 +4,15 @@ import { Route, Switch, Redirect } from 'react-router-dom' import Login from './components/component-login' import UsersManager from './components/component-users-manager' import Manuscripts from './components/component-manuscripts' -import Dashboard from './components/component-xpub-dashboard/src/components/Dashboard' -import SubmitPage from './components/component-xpub-submit/src/components/SubmitPage' -import ManuscriptPage from './components/component-xpub-manuscript/src/components/ManuscriptPage' -import ReviewersPage from './components/component-xpub-review/src/components/ReviewersPage' -import ReviewPage from './components/component-xpub-review/src/components/ReviewPage' -import TeamPage from './components/component-xpub-teams-manager/src/components/TeamsManagerPage' -import DecisionPage from './components/component-xpub-review/src/components/DecisionPage' -import FormBuilderPage from './components/component-xpub-formbuilder/src/components/FormBuilderPage' +import Dashboard from './components/component-dashboard/src/components/Dashboard' +import SubmitPage from './components/component-submit/src/components/SubmitPage' +import ManuscriptPage from './components/component-manuscript/src/components/ManuscriptPage' +import ReviewersPage from './components/component-review/src/components/ReviewersPage' +import ReviewPage from './components/component-review/src/components/ReviewPage' +import TeamPage from './components/component-teams-manager/src/components/TeamsManagerPage' +import DecisionPage from './components/component-review/src/components/DecisionPage' +import FormBuilderPage from './components/component-formbuilder/src/components/FormBuilderPage' +import NewSubmissionPage from './components/component-submit/src/components/NewSubmissionPage' import { Profile } from './components/component-profile/src' @@ -40,6 +41,11 @@ export default ( <MainPage> <Switch> <PrivateRoute component={Dashboard} exact path="/journal/home" /> + <PrivateRoute + component={NewSubmissionPage} + exact + path="/journal/newSubmission" + /> <PrivateRoute component={SubmitPage} exact