[FEATURE] Display qualifications list in homepage (#10)
Co-authored-by: Phan Huy Tran <p.tran@neusta.de> Reviewed-on: #10 Reviewed-by: Constantin Simonis <constantin@simonis.lol>
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import {Routes} from '@angular/router';
|
||||
import {EmployeeListComponent} from "./employee-list/employee-list.component";
|
||||
import {LoginComponent} from "./login/login.component";
|
||||
import {AuthGuardService} from "./services/auth-guard.service";
|
||||
import {HomeComponent} from "./home/home.component";
|
||||
|
||||
export const routes: Routes = [
|
||||
{path: 'login', component: LoginComponent},
|
||||
{path: '', component: EmployeeListComponent, canActivate: [AuthGuardService]},
|
||||
{path: '', component: HomeComponent, canActivate: [AuthGuardService]},
|
||||
{path: '**', redirectTo: ''}
|
||||
];
|
||||
|
Reference in New Issue
Block a user