Browse Source

updated texts (ex editions) path to match api

bach 2 years ago
parent
commit
9d454fb259
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/router/index.js

+ 3 - 3
src/router/index.js

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