app-routing.module.ts 1.86 KB
Newer Older
cazenave's avatar
cazenave committed
1
2
3
4
5
6
7
8
9
10
11
12
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { LoginComponent } from './login/login.component';
import { UserComponent } from './user/user.component';
import { RepositoryComponent } from './repository/repository.component';
import { AccessapiComponent } from './accessapi/accessapi.component';
import { DatasetsComponent } from './datasets/datasets.component';
import { OntologieComponent } from './ontologie/ontologie.component';
import { PublishComponent } from './publish/publish.component';
import { SettingfdpComponent } from './settingfdp/settingfdp.component';
import { SettingsmartapiComponent } from './settingsmartapi/settingsmartapi.component';
import { RepositoryinfoComponent } from './repositoryinfo/repositoryinfo.component';
cazenave's avatar
cazenave committed
13
import { SwaggereditorComponent } from './swaggereditor/swaggereditor.component';
cazenave's avatar
cazenave committed
14
15
16
17
18
19
20
21
22
23
24
25


const routes: Routes = [
                        {path: 'login', component : LoginComponent},
                        {path: 'user', component : UserComponent},
                        {path: 'repository', component : RepositoryComponent},
                        {path: 'repositoryinfo', component : RepositoryinfoComponent},
                        {path: 'accessapi', component : AccessapiComponent},
                        {path: 'datasets', component : DatasetsComponent},
                        {path: 'ontologie', component : OntologieComponent},
                        {path: 'publish', component : PublishComponent},
                        {path: 'settingfdp', component : SettingfdpComponent},
cazenave's avatar
cazenave committed
26
27
                        {path: 'settingsmartapi', component : SettingsmartapiComponent},
                        {path: 'swaggerapi', component : SwaggereditorComponent}
cazenave's avatar
cazenave committed
28
29
30
31
32
33
34
                        ];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }