Skip to content
This repository was archived by the owner on Oct 14, 2019. It is now read-only.

Commit 2b0ac31

Browse files
author
Your Name
committed
Angular and Firebase App
1 parent 1293596 commit 2b0ac31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/shared/model/lesson.resolver.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ export class LessonResolver implements Resolve<Lesson> {
1919
resolve(route:ActivatedRouteSnapshot,
2020
state:RouterStateSnapshot):Observable<Lesson> {
2121

22-
console.log("params",route.params['id']);
23-
2422
return this.lessonsService
25-
.findLessonByUrl("angular2-hello-world-write-first-application")
23+
.findLessonByUrl(route.params['id'])
2624
.first();
2725
}
2826

0 commit comments

Comments
 (0)