Skip to content

Commit

Permalink
article.component: fixed minor tslint complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Baron committed Oct 27, 2016
1 parent 7be69e3 commit 617dc93
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/app/article/article.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ import {
templateUrl: './article.component.html'
})
export class ArticleComponent implements OnInit {
constructor(
private route: ActivatedRoute,
private articlesService: ArticlesService,
private commentsService: CommentsService,
private router: Router,
private userService: UserService
) {}

article: Article;
currentUser: User;
canModify: boolean;
Expand All @@ -32,6 +24,14 @@ export class ArticleComponent implements OnInit {
isSubmitting = false;
isDeleting = false;

constructor(
private route: ActivatedRoute,
private articlesService: ArticlesService,
private commentsService: CommentsService,
private router: Router,
private userService: UserService
) {}

ngOnInit() {
// Retreive the prefetched article
this.route.data.subscribe(
Expand Down

0 comments on commit 617dc93

Please sign in to comment.