added profile edit
This commit is contained in:
parent
44524d0165
commit
06bd449be7
@ -30,6 +30,7 @@ import { DividertestComponent } from './pages/dividertest/dividertest.component'
|
|||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{ path: 'profile/:username', component: UserComponent, canActivate: [ AuthUpdateGuard ] },
|
{ path: 'profile/:username', component: UserComponent, canActivate: [ AuthUpdateGuard ] },
|
||||||
|
{ path: 'edit-profile', component: ProfileComponent, canActivate: [ AuthenticatedGuard ] },
|
||||||
{
|
{
|
||||||
path: '', component: MainComponent, children: [
|
path: '', component: MainComponent, children: [
|
||||||
{ path: '', redirectTo: "/services", pathMatch: 'full' },
|
{ path: '', redirectTo: "/services", pathMatch: 'full' },
|
||||||
|
Loading…
Reference in New Issue
Block a user