added profile edit

This commit is contained in:
_Bastler 2021-09-28 09:44:58 +02:00
parent 44524d0165
commit 06bd449be7

View File

@ -30,6 +30,7 @@ import { DividertestComponent } from './pages/dividertest/dividertest.component'
const routes: Routes = [
{ path: 'profile/:username', component: UserComponent, canActivate: [ AuthUpdateGuard ] },
{ path: 'edit-profile', component: ProfileComponent, canActivate: [ AuthenticatedGuard ] },
{
path: '', component: MainComponent, children: [
{ path: '', redirectTo: "/services", pathMatch: 'full' },