fixed targetmode being included in project

This commit is contained in:
Phil Hughes 2018-04-17 09:19:28 +01:00
parent 82b6f82f71
commit f3e2deb352
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 2 additions and 2 deletions

View File

@ -36,11 +36,11 @@ const router = new VueRouter({
base: `${gon.relative_url_root}/-/ide/`,
routes: [
{
path: '/project/:namespace/:project*',
path: '/project/:namespace/:project+',
component: EmptyRouterComponent,
children: [
{
path: ':targetmode/:branch/*',
path: ':targetmode(edit|tree|blob)/:branch/*',
component: EmptyRouterComponent,
},
{