diff --git a/src/app/core/core-routing.module.ts b/src/app/core/core-routing.module.ts index e9222245ddd283a07a2575df0af912a37f45277e..dcccac259ea820a7169c3d9f3a51b5d82bfe39f6 100644 --- a/src/app/core/core-routing.module.ts +++ b/src/app/core/core-routing.module.ts @@ -10,7 +10,7 @@ export const routes: Routes = [ pathMatch: 'full', }, { - path: 'logout', + path: AppRoutes.logout.uri, component: LogoutComponent, data: { title: 'Déconnexion', diff --git a/src/app/routes.ts b/src/app/routes.ts index 8bd43b057c1466acc2e5582b0648b1710a5f19e4..9d6427155cf58e23fb337b22d8c29572d9dad2a4 100644 --- a/src/app/routes.ts +++ b/src/app/routes.ts @@ -1,10 +1,17 @@ // tslint:disable-next-line:variable-name export const AppRoutes = { + logout: { + uri: 'logout', + title: { + fr: 'Déconnexion', + en: 'Log out', + }, + }, signin: { uri: 'login', title: { fr: 'Connexion', - en: 'Sign In', + en: 'Log In', }, }, home: {