瀏覽代碼

updated texts (ex editions) path to match api

bach 2 年之前
父節點
當前提交
9d454fb259
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/router/index.js

+ 3 - 3
src/router/index.js

@@ -41,17 +41,17 @@ const routes = [
   // },
   {
     name: 'edition',
-    path: '/edition/:id',
+    path: '/texts/:id',
     component: Edition
   },
   {
     name: 'editiontext',
-    path: '/edition/:id/:textid',
+    path: '/texts/:id/:textid',
     component: Edition
   },
   {
     name: 'editiontextextract',
-    path: '/edition/:id/:textid/:extract',
+    path: '/texts/:id/:textid/:extract',
     component: Edition
   },
   {