front: add basic home placeholder

This commit is contained in:
rr-
2016-03-31 22:33:49 +02:00
parent cb980ddc45
commit 82e7c6ebe9
10 changed files with 77 additions and 18 deletions

View File

@ -1,12 +1,14 @@
'use strict';
class HomeController {
constructor(topNavigationController) {
constructor(topNavigationController, homeView) {
this.topNavigationController = topNavigationController;
this.homeView = homeView;
}
indexRoute() {
this.topNavigationController.activate('home');
this.homeView.render();
}
notFoundRoute() {