mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
front: add basic home placeholder
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user