From 379acb21bcc491efdc0118ea714790bb34238d66 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jun 2018 17:05:57 +0200 Subject: Rename "my settings" to "my account" in menu --- client/src/app/+my-account/my-account-routing.module.ts | 5 +++++ client/src/app/menu/menu.component.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts index 7e19cd994..91b464f75 100644 --- a/client/src/app/+my-account/my-account-routing.module.ts +++ b/client/src/app/+my-account/my-account-routing.module.ts @@ -15,6 +15,11 @@ const myAccountRoutes: Routes = [ component: MyAccountComponent, canActivateChild: [ MetaGuard, LoginGuard ], children: [ + { + path: '', + redirectTo: 'settings', + pathMatch: 'full' + }, { path: 'settings', component: MyAccountSettingsComponent, diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 167729405..8e3b295f7 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -18,8 +18,8 @@ My public profile - - My settings + + My account -- cgit v1.2.3