Update topic url
This commit is contained in:
parent
b6eafe2b4d
commit
7105082a56
|
|
@ -1,7 +1,6 @@
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
// import index from '@/pages/index'
|
// import index from '@/pages/index'
|
||||||
import topic from '@/pages/topic'
|
import topic from '@/pages/topic'
|
||||||
import book from '@/pages/book'
|
|
||||||
import moduleBase from '@/pages/module-base'
|
import moduleBase from '@/pages/module-base'
|
||||||
import module from '@/pages/module'
|
import module from '@/pages/module'
|
||||||
import rooms from '@/pages/rooms'
|
import rooms from '@/pages/rooms'
|
||||||
|
|
@ -109,8 +108,7 @@ const routes = [
|
||||||
{
|
{
|
||||||
path: '/instruments/',
|
path: '/instruments/',
|
||||||
name: 'instrument-overview',
|
name: 'instrument-overview',
|
||||||
component: instrumentOverview,
|
component: instrumentOverview
|
||||||
meta: {subnavigation: true}
|
|
||||||
},
|
},
|
||||||
{path: '/instrument/:slug', name: 'instrument', component: instrument, meta: {layout: 'simple'}},
|
{path: '/instrument/:slug', name: 'instrument', component: instrument, meta: {layout: 'simple'}},
|
||||||
{path: '/submission/:id', name: 'submission', component: submission, 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: '/portfolio/:slug', name: 'project', component: project, props: true},
|
||||||
{path: '/new-project/', name: 'new-project', component: newProject},
|
{path: '/new-project/', name: 'new-project', component: newProject},
|
||||||
{path: '/edit-project/:id', name: 'edit-project', component: editProject, props: true},
|
{path: '/edit-project/:id', name: 'edit-project', component: editProject, props: true},
|
||||||
{
|
{path: '/topic/:topicSlug', name: 'topic', component: topic, alias: '/book/topic/:topicSlug'},
|
||||||
path: '/book',
|
|
||||||
name: 'book',
|
|
||||||
component: book,
|
|
||||||
meta: {
|
|
||||||
subnavigation: true
|
|
||||||
},
|
|
||||||
children: [
|
|
||||||
{path: 'topic/:topicSlug', name: 'topic', component: topic, meta: {subnavigation: true}}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/me',
|
path: '/me',
|
||||||
component: profilePage,
|
component: profilePage,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue