Prechádzať zdrojové kódy

Add sub route to thread page for post_id

sbkwgh 8 rokov pred
rodič
commit
a88e6eab7e
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/main.js

+ 1 - 0
src/main.js

@@ -37,6 +37,7 @@ const router = new VueRouter({
 		{ path: '/start', component: Start },
 		{ path: '/category/:category', component: Category },
 		{ path: '/thread/:slug/:id', component: Thread },
+		{ path: '/thread/:slug/:id/:post_id', component: Thread },
 		{ path: '/thread/new', component: ThreadNew },
 		{ path: '/user/:username', redirect: '/user/:username/posts', component: User, children: [
 			{ path: 'posts', component: UserPosts },