summaryrefslogtreecommitdiff
path: root/src/client/router.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-04-24 22:38:24 +0900
committerGitHub <noreply@github.com>2021-04-24 22:38:24 +0900
commitfec3c70886c13a267814e7eba5d2dd9aa807687b (patch)
treed88fcd2904b964a30a925be6e1b26e1e51ee329d /src/client/router.ts
parentTweak UI (diff)
downloadmisskey-fec3c70886c13a267814e7eba5d2dd9aa807687b.tar.gz
misskey-fec3c70886c13a267814e7eba5d2dd9aa807687b.tar.bz2
misskey-fec3c70886c13a267814e7eba5d2dd9aa807687b.zip
Gallery (#7194)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
Diffstat (limited to 'src/client/router.ts')
-rw-r--r--src/client/router.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/router.ts b/src/client/router.ts
index 26a4dac499..5371bf17d9 100644
--- a/src/client/router.ts
+++ b/src/client/router.ts
@@ -37,6 +37,9 @@ export const router = createRouter({
{ path: '/pages', name: 'pages', component: page('pages') },
{ path: '/pages/new', component: page('page-editor/page-editor') },
{ path: '/pages/edit/:pageId', component: page('page-editor/page-editor'), props: route => ({ initPageId: route.params.pageId }) },
+ { path: '/gallery', component: page('gallery/index') },
+ { path: '/gallery/new', component: page('gallery/new') },
+ { path: '/gallery/:postId', component: page('gallery/post'), props: route => ({ postId: route.params.postId }) },
{ path: '/channels', component: page('channels') },
{ path: '/channels/new', component: page('channel-editor') },
{ path: '/channels/:channelId/edit', component: page('channel-editor'), props: true },