Ignore:
Timestamp:
12/19/21 19:39:00 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
bdd6491
Parents:
1ad8e64
Message:

spring security 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/src/app/app-routing.module.ts

    r1ad8e64 r84d0fbb  
    11import { NgModule } from '@angular/core';
    22import { RouterModule, Routes } from '@angular/router';
     3import { AuthGuard } from './auth/auth.guard';
    34import { HomepageComponent } from './homepage/homepage.component';
     5import { LoginComponent } from './homepage/login/login.component';
    46import { LocationDetailsComponent } from './location/location-details/location-details.component';
    57import { LocationComponent } from './location/location.component';
     
    1416  {path: 'locations', component: LocationComponent},
    1517  {path: '', component: HomepageComponent},
     18  {path: '', component:LoginComponent},
    1619  {path: 'location', component: LocationDetailsComponent}
    1720];
Note: See TracChangeset for help on using the changeset viewer.