diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index e4fffe7..d3701e4 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -9,6 +9,7 @@ import {TemplatesComponent} from './templates/templates.component'; import {SettingsComponent} from './settings/settings.component'; import {UsersComponent} from './users/users.component'; import {ChangelogComponent} from './changelog/changelog.component'; +import {DocumentationDatabaseComponent} from './documentation-database/documentation-database.component'; const routes: Routes = [ @@ -22,6 +23,7 @@ const routes: Routes = [ {path: 'users', component: UsersComponent, canActivate: [LoginService]}, {path: 'settings', component: SettingsComponent, canActivate: [LoginService]}, {path: 'documentation', component: DocumentationComponent}, + {path: 'documentation/database', component: DocumentationDatabaseComponent}, // if not authenticated { path: '**', redirectTo: '' } diff --git a/src/app/app.component.html b/src/app/app.component.html index 648446a..96aed3a 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -10,6 +10,13 @@ Documentation + + + +