Simplified stash routing.
This commit is contained in:
parent
0e656ea5ca
commit
bcd3c08faa
|
@ -233,7 +233,7 @@ const routes = [
|
|||
name: 'notifications',
|
||||
},
|
||||
{
|
||||
path: '/user/:username/stash/:stashSlug',
|
||||
path: '/stash/:username/:stashSlug',
|
||||
redirect: (from) => ({
|
||||
name: 'stash',
|
||||
params: {
|
||||
|
@ -244,7 +244,7 @@ const routes = [
|
|||
}),
|
||||
},
|
||||
{
|
||||
path: '/user/:username/stash/:stashSlug/:range/:pageNumber',
|
||||
path: '/stash/:username/:stashSlug/:range/:pageNumber',
|
||||
component: Stash,
|
||||
name: 'stash',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue