Skip to content
Snippets Groups Projects
Commit 6453f08a authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Add logout route as variable

parent 7107b1ea
Branches
Tags
No related merge requests found
...@@ -10,7 +10,7 @@ export const routes: Routes = [ ...@@ -10,7 +10,7 @@ export const routes: Routes = [
pathMatch: 'full', pathMatch: 'full',
}, },
{ {
path: 'logout', path: AppRoutes.logout.uri,
component: LogoutComponent, component: LogoutComponent,
data: { data: {
title: 'Déconnexion', title: 'Déconnexion',
......
// tslint:disable-next-line:variable-name // tslint:disable-next-line:variable-name
export const AppRoutes = { export const AppRoutes = {
logout: {
uri: 'logout',
title: {
fr: 'Déconnexion',
en: 'Log out',
},
},
signin: { signin: {
uri: 'login', uri: 'login',
title: { title: {
fr: 'Connexion', fr: 'Connexion',
en: 'Sign In', en: 'Log In',
}, },
}, },
home: { home: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment