diff --git a/client/src/router/index.js b/client/src/router/index.js index 44214e50..48808a4b 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -1,7 +1,6 @@ import Vue from 'vue' // import index from '@/pages/index' import topic from '@/pages/topic' -import book from '@/pages/book' import moduleBase from '@/pages/module-base' import module from '@/pages/module' import rooms from '@/pages/rooms' @@ -109,8 +108,7 @@ const routes = [ { path: '/instruments/', name: 'instrument-overview', - component: instrumentOverview, - meta: {subnavigation: true} + component: instrumentOverview }, {path: '/instrument/:slug', name: 'instrument', component: instrument, meta: {layout: 'simple'}}, {path: '/submission/:id', name: 'submission', component: submission, meta: {layout: 'simple'}}, @@ -118,17 +116,7 @@ const routes = [ {path: '/portfolio/:slug', name: 'project', component: project, props: true}, {path: '/new-project/', name: 'new-project', component: newProject}, {path: '/edit-project/:id', name: 'edit-project', component: editProject, props: true}, - { - path: '/book', - name: 'book', - component: book, - meta: { - subnavigation: true - }, - children: [ - {path: 'topic/:topicSlug', name: 'topic', component: topic, meta: {subnavigation: true}} - ] - }, + {path: '/topic/:topicSlug', name: 'topic', component: topic, alias: '/book/topic/:topicSlug'}, { path: '/me', component: profilePage,