Merge branch 'task/update-datatable-module'
commit
3b7f997352
|
@ -19,14 +19,6 @@ export const appRoutes: Routes = [
|
|||
path: RouteConfig.statsPath,
|
||||
loadChildren: './statistic/stats.module#StatsModule'
|
||||
},
|
||||
{
|
||||
path: RouteConfig.loginPath,
|
||||
component: LoginComponent
|
||||
},
|
||||
{
|
||||
path: RouteConfig.signUpPath,
|
||||
component: SignupComponent
|
||||
},
|
||||
{
|
||||
path: RouteConfig.request,
|
||||
loadChildren: './request/request.module#RequestModule'
|
||||
|
@ -56,6 +48,14 @@ export const appRoutes: Routes = [
|
|||
loadChildren: './admin/admin.module#AdminModule',
|
||||
canActivate: [LoginGuardAdmin]
|
||||
},
|
||||
{
|
||||
path: RouteConfig.loginPath,
|
||||
component: LoginComponent
|
||||
},
|
||||
{
|
||||
path: RouteConfig.signUpPath,
|
||||
component: SignupComponent
|
||||
},
|
||||
|
||||
/** Redirect Configuration **/
|
||||
{
|
||||
|
@ -70,6 +70,6 @@ export const appRoutes: Routes = [
|
|||
|
||||
export const appRouting = RouterModule.forRoot(appRoutes);
|
||||
|
||||
export const routingComponents = [LoginComponent, SignupComponent, ...armyRoutingComponents, NotFoundComponent];
|
||||
export const routingComponents = [...armyRoutingComponents, LoginComponent, SignupComponent, NotFoundComponent];
|
||||
|
||||
export const routingProviders = [LoginGuardSQL, LoginGuardHL, LoginGuardMT, LoginGuardAdmin];
|
||||
export const routingProviders = [LoginGuardHL, LoginGuardAdmin];
|
||||
|
|
Loading…
Reference in New Issue