Skip to content
Snippets Groups Projects
Commit 4e08b848 authored by chris's avatar chris
Browse files

blog in routes theme works

parent 5fbddd4e
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ import { requireAuthentication } from 'pubsweet-frontend/src/components/Authenti ...@@ -7,7 +7,7 @@ import { requireAuthentication } from 'pubsweet-frontend/src/components/Authenti
import Manage from 'pubsweet-component-manage/Manage' import Manage from 'pubsweet-component-manage/Manage'
import UsersManager from 'pubsweet-component-users-manager/UsersManager' import UsersManager from 'pubsweet-component-users-manager/UsersManager'
import TeamsManager from 'pubsweet-component-teams-manager/TeamsManager' import TeamsManager from 'pubsweet-component-teams-manager/TeamsManager'
import Blog from 'pubsweet-component-blog/Blog'
// Editoria // Editoria
import BookBuilder from './components/BookBuilder/BookBuilder' import BookBuilder from './components/BookBuilder/BookBuilder'
import BookList from './components/BookBuilder/BookList' import BookList from './components/BookBuilder/BookList'
...@@ -23,6 +23,7 @@ const AuthenticatedManage = requireAuthentication( ...@@ -23,6 +23,7 @@ const AuthenticatedManage = requireAuthentication(
export default ( export default (
<Route> <Route>
Route path='/blog' component={Blog}>
<Route path='/' component={AuthenticatedManage}> <Route path='/' component={AuthenticatedManage}>
<Route path='books' component={BookList} /> <Route path='books' component={BookList} />
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment