18 lines
348 B
JavaScript
18 lines
348 B
JavaScript
|
'use strict';
|
||
|
|
||
|
class HomeController {
|
||
|
constructor(topNavigationController) {
|
||
|
this.topNavigationController = topNavigationController;
|
||
|
}
|
||
|
|
||
|
indexRoute() {
|
||
|
this.topNavigationController.activate('home');
|
||
|
}
|
||
|
|
||
|
notFoundRoute() {
|
||
|
this.topNavigationController.activate('');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = HomeController;
|