|
|
@@ -19,8 +19,11 @@ import { GETBGMComponent } from './components/getb/getbgm/getbgm.component';
|
|
|
import { GETBSBComponent } from './components/getb/getbsb/getbsb.component';
|
|
|
import { GETBMEComponent } from './components/getb/getbme/getbme.component';
|
|
|
import { GETBREComponent } from './components/getb/getbre/getbre.component';
|
|
|
+import { GetbtbComponent } from './components/getb/getbtb/getbtb.component';
|
|
|
+import { GETBTBFORMComponent } from './components/getb/getbtb/getbtb-form/getbtb-form.component';
|
|
|
|
|
|
const routes: Routes = [
|
|
|
+ { path: '', redirectTo:'/login', pathMatch: 'full'},
|
|
|
{ path: 'login', component: LoginComponent, canActivate: [LoginGuard] },
|
|
|
{
|
|
|
path: 'sam', component: TemplateComponent, canActivate: [AuthGuard],
|
|
|
@@ -36,10 +39,12 @@ const routes: Routes = [
|
|
|
{ path: 'getbsb', component: GETBSBComponent},
|
|
|
{ path: 'getbme', component: GETBMEComponent},
|
|
|
{ path: 'getbre', component: GETBREComponent},
|
|
|
+ { path: 'getbtb', component: GetbtbComponent},
|
|
|
+ { path: 'getbtb-create', component: GETBTBFORMComponent},
|
|
|
|
|
|
{ path: 'template-menu', component: Plantilla1Component},
|
|
|
{ path: 'template-table', component: Plantilla2Component},
|
|
|
- { path: 'tamplate-form', component: Plantilla3Component}
|
|
|
+ { path: 'template-form', component: Plantilla3Component}
|
|
|
]
|
|
|
}
|
|
|
];
|