Parcourir la source

Add sub route to thread page for post_id

sbkwgh il y a 8 ans
Parent
commit
a88e6eab7e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 },