Skip to content

Commit 4738ca1

Browse files
author
JLRR2019
committed
Cambios
1 parent 990d17a commit 4738ca1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

frontend/src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header></header>
22
<navBar></navBar>
33

4-
<home></home>
4+
<!--home></!--home-->
55

66

77
<router-outlet></router-outlet>

frontend/src/app/app.routing.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { HomeComponent } from './components/home/home.component';
66
//ojo, el template no debe llamar al servicio, hay que hacerlo a través del componente
77

88
const appRoutes = [
9-
{ path: 'home', component: HomeComponent }
9+
{ path: 'home', component: HomeComponent },
10+
{ path: '', redirectTo: 'home', pathMatch: 'full'}
1011
]
1112

1213
export const routing = RouterModule.forRoot(appRoutes);

frontend/src/app/components/user/userProfile.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,8 @@ export class UserProfile {
6868
this.loginservice.logOut();
6969
}
7070

71+
/*getUserVideogame(){
72+
this.useroService.getVideogames(this.user);
73+
}*/
74+
7175
}

0 commit comments

Comments
 (0)