tenant details form
This commit is contained in:
@ -8,6 +8,7 @@ import { MyPremisesComponent } from './my-premises/my-premises.component';
|
||||
import { MyFlatsComponent } from './my-flats/my-flats.component';
|
||||
import { MyParkingsComponent } from './my-parkings/my-parkings.component';
|
||||
import { MyCommercialUnitsComponent } from './my-commercial-units/my-commercial-units.component';
|
||||
import { TenantDetailsComponent } from './tenant-details/tenant-details.component';
|
||||
|
||||
|
||||
const routes: Routes = [
|
||||
@ -16,6 +17,7 @@ const routes: Routes = [
|
||||
{ path: 'flats', component: MyFlatsComponent, canActivate: [ AuthGuardService ] },
|
||||
{ path: 'parkings', component: MyParkingsComponent, canActivate: [ AuthGuardService ] },
|
||||
{ path: 'commercialunits', component: MyCommercialUnitsComponent, canActivate: [ AuthGuardService ] },
|
||||
{ path: 'tenant/:id', component: TenantDetailsComponent, canActivate: [ AuthGuardService ] },
|
||||
{ path: 'logout', component: LogoutComponent },
|
||||
{ path: 'login', component: LoginComponent }
|
||||
]
|
||||
|
Reference in New Issue
Block a user