diff --git a/components/ProfileOverview.vue b/components/ProfileOverview.vue
index a19c49f00..8905a6789 100644
--- a/components/ProfileOverview.vue
+++ b/components/ProfileOverview.vue
@@ -6,7 +6,7 @@
profile.show
-
+
profile.edit
@@ -16,7 +16,7 @@
-
+
profile.init
diff --git a/locale/en/config.suml b/locale/en/config.suml
index 0b737b043..333e31485 100644
--- a/locale/en/config.suml
+++ b/locale/en/config.suml
@@ -105,7 +105,6 @@ user:
profile:
enabled: true
editorEnabled: true
- profileEditorRoute: 'my-card'
defaultWords:
- ['mx.', 'mr.', 'miss', 'sir', 'ma''am']
- ['person', 'man', 'woman', 'lady', 'dude', 'boy', 'girl', 'bro', 'sis']
diff --git a/locale/pl/config.suml b/locale/pl/config.suml
index 66a4d3844..1a2b2ab7c 100644
--- a/locale/pl/config.suml
+++ b/locale/pl/config.suml
@@ -238,7 +238,6 @@ user:
profile:
enabled: true
editorEnabled: true
- editorRoute: 'wizytówka'
defaultWords:
- ['pan', 'pani', 'państwo', 'pań', 'panu']
- ['osoba', 'mężczyzna', 'kobieta', 'enby', 'niebinie', 'facet', 'baba', 'ziom', 'laska']
diff --git a/nuxt.config.js b/nuxt.config.js
index 04ce7fd79..d0b03f2a1 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -150,7 +150,7 @@ export default {
if (config.profile.enabled) {
routes.push({path: '/@*', component: resolve(__dirname, 'routes/profile.vue')});
if (config.profile.editorEnabled) {
- routes.push({path: '/' + config.profile.editorRoute, component: resolve(__dirname, 'routes/profileEditor.vue')});
+ routes.push({path: '/editor', component: resolve(__dirname, 'routes/profileEditor.vue')});
}
}
diff --git a/routes/profile.vue b/routes/profile.vue
index 288927f64..848934b8f 100644
--- a/routes/profile.vue
+++ b/routes/profile.vue
@@ -6,7 +6,7 @@
@{{username}}
-