From 268aa78350e2fa6ea727c934cff0fb495384622f Mon Sep 17 00:00:00 2001
From: Henrik Askjer <henrik.askjer@uib.no>
Date: Tue, 28 Sep 2021 09:55:43 +0200
Subject: [PATCH] fix word route

---
 src/components/DictionaryView.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index 5a757e9f..a502ba8c 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -238,7 +238,7 @@ export default {
     select_result: function (event) {
         this.event = event
         if (event.match) {
-            let route = `/${this.lang}/search/${event.match}`
+            let route = `/${this.lang}/w/${event.match}`
             this.$router.push(route)
             navigate_to_word(this)
         } else {
-- 
GitLab