| @@ -9,6 +9,11 @@ import { TransactionComponent } from './transaction/transaction.component'; | |||
| import {ListAllLoansComponent} from './list-all-loans/list-all-loans.component'; | |||
| import {LoanEditComponent} from './loan-edit/loan-edit.component'; | |||
| import {LenderUploadsComponent} from './lender-uploads/lender-uploads.component'; | |||
| import {BrokerLoanListComponent} from './broker-loan-list/broker-loan-list.component'; | |||
| import {BrokerRewardComponent} from './broker-reward/broker-reward.component'; | |||
| import {BrokerProfileComponent} from './broker-profile/broker-profile.component'; | |||
| import {ClientLoanListComponent} from './client-loan-list/client-loan-list.component'; | |||
| import {ClientProfileComponent} from './client-profile/client-profile.component'; | |||
| const routes: Routes = [ | |||
| @@ -23,6 +28,11 @@ const routes: Routes = [ | |||
| {path : 'edit-loan', component: LoanEditComponent, }, | |||
| {path : 'uploads', component: LenderUploadsComponent, }, | |||
| {path : 'uploads/:id', component: LenderUploadsComponent, }, | |||
| {path : 'broker-loan-list', component: BrokerLoanListComponent, }, | |||
| {path : 'broker-reward', component: BrokerRewardComponent, }, | |||
| {path : 'broker-profile', component: BrokerProfileComponent, }, | |||
| {path : 'client-loan-list', component: ClientLoanListComponent, }, | |||
| {path : 'client-profile', component: ClientProfileComponent, }, | |||
| ]; | |||
| @NgModule({ | |||