This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/static/js/controllers/home_controller.js

18 lines
348 B
JavaScript
Raw Normal View History

'use strict';
class HomeController {
constructor(topNavigationController) {
this.topNavigationController = topNavigationController;
}
indexRoute() {
this.topNavigationController.activate('home');
}
notFoundRoute() {
this.topNavigationController.activate('');
}
}
module.exports = HomeController;